summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorKhoi Nguyen <bng@odoo.com>2017-07-26 16:03:39 +0200
committerKhoi Nguyen <bng@odoo.com>2017-07-27 17:11:41 +0200
commit4e12edc023dd20d435f5575b5517a3c11deb8421 (patch)
tree7ee68152a3b9eed274ecb31f67cbcce84ce829ec /addons/web/static/src/js/views/basic
parent1efca8d0738a259fbb7ebc12738e088908f53542 (diff)
[FIX] web: correct domain when using 'all' filters
Since the switch to the new views, 'all' filters such as "Everybody's calendar" did not work as intended (activating the filter would sometimes lead to fewer events being shown). This commit corrects the way 'all' switches affect a domain. More precisely, the conversion from filters to domain has been changed in the following way. - Ticking all visible checkboxes associated with a filter no longer means the same as ticking the 'all' checkbox. The former choice was particularly problematic when a filter only had one visible checkbox, in which case it was not possible to see the list of records only associated with that one filter. - The conversion used to contain an impossible case in which we convert a filter into a 'not in' domain. All the related logic has now been deleted. - Minor changes (renaming variables etc.) to make the code more readable.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions