summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorJulien Mougenot <jum@odoo.com>2020-08-10 12:10:01 +0000
committerJulien Mougenot <jum@odoo.com>2020-08-11 10:12:15 +0000
commitc00e76b67c424498e29c4a82f6536084c3539b13 (patch)
treeb22f0a573b4e09b9c73b6af53c435bfefd68adce /doc/reference
parent2f0bf44c7a1ef2354fa6a0b87b1f380fa161305b (diff)
[FIX] web: Filter with domain disables category counters
Before this commit, the search panel was subject to some inconsistencies when dealing with a category having enabled counters and with a filter defining a "domain" attribute. Indeed, the counters could be in an incorrect state if the right filters/categories were not loaded first, with no simple way in doing so. The search panel being complex enough as it is, we decided to disable all categories' counters in the presence of a filter having a "domain" attribute regardless of said domain. closes odoo/odoo#55734 X-original-commit: e78f777bd8ccb314b85451cbc8d1dd9109997d7a Related: odoo/enterprise#12341 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/views.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index ba23941bbe9..d2e4be8ffad 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -2038,6 +2038,8 @@ Possible children elements of the search view are:
A domain might be used to express a dependency on another field (with select="one")
of the search panel. Consider
+ /!\ This attribute is incompatible with a select="one" with enabled counters; if a select="multi"
+ has a `domain` attribute, all select="one" will have their counters disabled.
.. code-block:: xml