From d9c7c30856c280b516a0c98cf5d5e18ebe13e37b Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Thu, 12 Jan 2017 11:49:14 +0100 Subject: [FIX] web: handle the case of a field domain without set model Some domain fields are initialized with a model which depends of another form field value. Sometimes, this value is False and the domain selector cannot be used during that time (and was even performing useless RPC). Now, in this case, the field domain is fully replaced by a message which explains that a model have to be set. If you don't want this message to be shown, you still have the possibility to not show the field domain when there is no model thanks to the "invisible" attrs. --- addons/web/static/src/xml/base.xml | 1 + 1 file changed, 1 insertion(+) (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 47254cebb09..be1d398f187 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -680,6 +680,7 @@ +
Select a model to add a filter.
-- cgit v1.2.3