[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:
Antoine Guenet
2022-07-27 07:59:54 +02:00
parent 5662b31b40
commit 7810fd5b25
2 changed files with 3 additions and 6 deletions
+2 -5
View File
@@ -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;
+1 -1
View File
@@ -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"/>