summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorAdrian Torres <adt@odoo.com>2019-02-18 10:16:13 +0000
committerAdrian Torres <adt@odoo.com>2019-02-20 10:45:28 +0000
commit934c0016809c0ff8db4ff238ac7116c5acccf95a (patch)
tree855626e72725051e1a4577fd7cf1a249fbb44f2a /addons/web/static/src/js/fields
parentc7386de1a2e400224e3ced403b077e7be6f218ea (diff)
[FIX] expression: properly handle {TRUE,FALSE}_LEAF
Before this commit, doing expression.OR() with only FALSE_LEAF would yield [] which is equivalent to TRUE_LEAF and is therefore not correct. The same happened (to a lesser extent) with expression.AND() within an expression.OR(), since the former would return a [] which would be ignored by expression.OR(). See tests for a clearer view of the use cases. Fixes #30113, #26540 closes odoo/odoo#31202
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions