From f0fdfbf44e1db97f9d9b1425be81b53138c01bd6 Mon Sep 17 00:00:00 2001 From: Jinal Patel Date: Fri, 9 Aug 2019 05:09:01 +0000 Subject: [FIX] web: add support for TRUE_LEAF and FALSE_LEAF in ModelFieldSelector before this commit, domain selector widget does not support TRUE_LEAF and FALSE_LEAF i.e. [(1, '=', 1)] and [(0, '=', 1)] respectively, the reason is the chain part of the domain i.e. field name has value 1/0 and we don't have field name like 1 and 0 in domain and hence ModelFieldSelector don't accept it after this commit, domain selector can handle this special two domains which is [(1, '=', 1)] and [(0, '=', 1)], add support for chain with 1/0 in ModelFieldSelector task- 1998145 closes odoo/odoo#35603 Signed-off-by: Nicolas Martinelli (nim) Co-authored-by: Mohammed Shekha --- addons/web/static/src/xml/base.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 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 c925809fab5..062571646b6 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -767,8 +767,16 @@ - - + + + + + + + + + + -- cgit v1.2.3