summaryrefslogtreecommitdiff
path: root/addons/test_xlsx_export
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2021-05-17 12:49:25 +0000
committerAaron Bohy <aab@odoo.com>2021-05-17 13:18:13 +0000
commit44e185dbd6ddeda7cdcd76882fa0bd231e9d3f37 (patch)
treecf9e3a49dde2bbd2dc65ac12562696df500836c2 /addons/test_xlsx_export
parent7873144a9f1e68943d14053c3e5d6a945a46e9d5 (diff)
[FIX] web: domain: (=)(i)like operators
Before this commit, evaluating a domain containing a like/ilike operator with an evaluation context in which the value was false crashed. Moreover, those operators were wrong w.r.t. the case sensitivity: like was case insensitive, whereas ilike was case sensitive, and both =like and =ilike were case insensitive. This commit fixes thoses issues. The first issue was spotted on our prod, as we tried to add an invisible attrs in a form view, using the ilike operator (it thus crashed in create mode). The second issue was spotted while writting the test cases. To the best of our knowledge, those operators aren't used in attrs (for now), explaining why those issues haven't been found before. closes odoo/odoo#70876 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
Diffstat (limited to 'addons/test_xlsx_export')
0 files changed, 0 insertions, 0 deletions