[FIX] note: fix the layout of note's form view
New styles on forms had broken the full height / no sheet style of note's form view. closes odoo/odoo#96741 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.o_note_form_view.o_form_view {
|
||||
.o_note_form_view {
|
||||
.o_form_sheet_bg {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -14,12 +14,9 @@
|
||||
.o_form_sheet {
|
||||
margin: 0;
|
||||
border: none;
|
||||
max-width: none;
|
||||
flex: 1;
|
||||
box-shadow: none;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.oe_pad {
|
||||
flex: 1;
|
||||
margin-bottom: 0;
|
||||
@@ -37,7 +34,7 @@
|
||||
min-height: 300px;
|
||||
}
|
||||
}
|
||||
.oe_form_field.oe_memo {
|
||||
.o_field_widget[name="memo"] {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
min-height: 200px;
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
<field name="name">note.note.form</field>
|
||||
<field name="model">note.note</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Note" class="oe_form_nomargin o_note_form_view">
|
||||
<form string="Note" class="o_note_form_view">
|
||||
<header>
|
||||
<field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color'}" placeholder="Tags"/>
|
||||
<field name="company_id" groups="base.group_multi_company"/>
|
||||
|
||||
Reference in New Issue
Block a user