From f64c1c6b7457ca73ac01b6dd3cebdbaa2889baa1 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Thu, 5 Jan 2017 13:13:09 +0100 Subject: [IMP] web: FieldDomain panel at top right instead of below The FieldDomain is composed of a DomainSelector widget and a button which allows to see the records which match the domain (or an error message if the domain is wrong). The button was placed below the domain selector. Now, in edit mode, it is placed at the top-right of the domain selector, saving some vertical space. --- addons/web/static/src/xml/base.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'addons/web/static/src/xml/base.xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index dc3119908fe..34387d9f507 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -669,12 +669,13 @@ t-att-maxlength="widget.field.size"/> -
+
-
+
- Records Selected - +
@@ -683,7 +684,7 @@
- +
@@ -711,9 +712,9 @@
- Match the records with the following rule: + Match records with the following rule: - Match the records with + Match records with of the following rules: -- cgit v1.2.3 From 11a4e17c9c129d103d551661ec2b06efeda21bc4 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Thu, 5 Jan 2017 14:01:48 +0100 Subject: [IMP] web: add a dialog option to the FieldDomain Now, the form FieldDomain has an option "dialog" which allows to force the domain *edition* in a new dialog. This allows the field to be positioned in smaller area of the form view in some contexts. --- addons/web/static/src/xml/base.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'addons/web/static/src/xml/base.xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 34387d9f507..47254cebb09 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -669,7 +669,7 @@ t-att-maxlength="widget.field.size"/> -
+
@@ -677,6 +677,8 @@ record(s) +
-- cgit v1.2.3