Skip to content
Snippets Groups Projects
Commit 68f5883a authored by Denis Roussel's avatar Denis Roussel
Browse files

[FIX] ir_property: Allows to search on boolean == False


Closes #43580
Fixes #9449

Adds field type conditions for boolean in search for Property model.

As False values are not stored in DB for boolean, the search() does
not return any value for non existent lines with:

* operator: '=' and value: False
* operator: '!=' and value: True

Uses the 'include_zero' and inverse operator mechanisms implemented
in Property model.

Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent 8d2f0675
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment