summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/menu.xml
diff options
context:
space:
mode:
authorMathieu Duckerts-Antoine <dam@odoo.com>2020-04-28 12:43:30 +0000
committerMathieu Duckerts-Antoine <dam@odoo.com>2020-05-05 19:23:20 +0000
commit2c102c292f22f5d400d8caf779428fdc55c15e43 (patch)
tree6436980060455bd35619672d5e0ba693551e3902 /addons/web/static/src/xml/menu.xml
parentc19dcf3983c797d82cd808d9701e190aee619af2 (diff)
[IMP] web: search panel counter changes
This commit introduces several changes in the search panel with respect to record counts: - the record counts are now also available for the fields with select="one" attribute (if not disabled explicitely). - the record counts are better computed using the idea that selected values within a group should not impact the counts for the group values but only the counts for the other group values. On the way we have changed two keys in the values returned by the server: - 'count' becomes '__count'. It has been done to avoid a possible clash in case a model would have a field named 'count' and that the field values would be wanted for some reason. - 'name' (multi case) becomes 'display_name'. It has been done in order to make the select one and multi cases more similar and factorize some code. TASK-ID: 2166814 Co-authored-by: Raphaƫl Collet <rco@openerp.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by: Alexis Lacroix <laa@odoo.com> Co-authored-by: Julien Mougenot <jum@odoo.com>
Diffstat (limited to 'addons/web/static/src/xml/menu.xml')
0 files changed, 0 insertions, 0 deletions