From c04dfec0234f9464d70418005a4a4190bb0dee53 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Wed, 29 Mar 2017 12:26:11 +0200 Subject: [PATCH] [FIX] web: make the domain field a "block" field The domain field needs space to be rendered. Even with its "in_dialog" option activated, the readonly representation can take some space. If there is not enough space, it will be a mess to read it and the "-> x records" button can also overflow the "Add filter" button. This commit makes the field to be rendered as a "block", which fixes the problem in all current cases. --- addons/web/static/src/less/form_view_layout.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/less/form_view_layout.less b/addons/web/static/src/less/form_view_layout.less index 7e108b6af2c..111805c7325 100644 --- a/addons/web/static/src/less/form_view_layout.less +++ b/addons/web/static/src/less/form_view_layout.less @@ -162,7 +162,7 @@ } // Block fields - .note-editor, .oe_form_field_html, .oe_form_field_html_text, .oe_form_field_text, .o_view_manager_content { + .note-editor, .oe_form_field_html, .oe_form_field_html_text, .oe_form_field_text, .o_view_manager_content, .o_form_field_domain { display: block; }