From 7810fd5b25580cfdc7f520f30bba6263ff8ff974 Mon Sep 17 00:00:00 2001 From: Antoine Guenet Date: Tue, 26 Jul 2022 10:01:25 +0000 Subject: [PATCH] [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) --- addons/note/static/src/scss/note.scss | 7 ++----- addons/note/views/note_views.xml | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/addons/note/static/src/scss/note.scss b/addons/note/static/src/scss/note.scss index 90316aa14b7..d7f27cc2445 100644 --- a/addons/note/static/src/scss/note.scss +++ b/addons/note/static/src/scss/note.scss @@ -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; diff --git a/addons/note/views/note_views.xml b/addons/note/views/note_views.xml index 7409ca273a1..2512813ae7e 100644 --- a/addons/note/views/note_views.xml +++ b/addons/note/views/note_views.xml @@ -167,7 +167,7 @@ note.note.form note.note -
+