summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorPierre Paridans <app@odoo.com>2019-06-03 13:19:09 +0000
committerPierre Paridans <app@odoo.com>2019-06-03 14:13:40 +0000
commit8040f85b4f51dae678f1b94960ae0145513e382c (patch)
treec39500e6faad09098a1ec1000ac7c7b0b9d7e0f8 /addons/web/static/src/js/fields/basic_fields.js
parent1fd9d1e908766f1ae23c191306c9b4e8a1c6dcaa (diff)
[FIX] web: form's title should take all width in edit mode
Form sheet's title (with class .oe_title) when in editable mode has a maximum width. The goal according to FP is to make a clear differentiation between the main title/name of a record and its other fields. An issue with the existing rule in the Project application is that the "title" row (with class .oe_title) not only contains the name of the task but also its priority and state. The aforementioned rule should then be applied only on the "name" part and not to the whole row to prevent the "state" from moving between read_only and editable modes. To do so the maximum width is "moved" from the row element to the task name's element. Sadly the current stylesheet in this project is still a regular CSS file, preventing us from using the SCSS expression coming from `addons/web/static/src/scss/form_view.scss`. Task ID: 1946570 closes odoo/odoo#33845 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions