-
- Downloads
[FIX] osv: fix boolean in domain for custom field
When a new column has been added after that some data already exists, the old lines will keep an empty/null value. So when we search is the new field is equals to False or if it is different of True, we need to match the null values. close #9925
Showing
- openerp/addons/test_new_api/demo_data.xml 13 additions, 0 deletionsopenerp/addons/test_new_api/demo_data.xml
- openerp/addons/test_new_api/ir.model.access.csv 1 addition, 0 deletionsopenerp/addons/test_new_api/ir.model.access.csv
- openerp/addons/test_new_api/models.py 8 additions, 0 deletionsopenerp/addons/test_new_api/models.py
- openerp/addons/test_new_api/tests/__init__.py 1 addition, 0 deletionsopenerp/addons/test_new_api/tests/__init__.py
- openerp/addons/test_new_api/tests/test_domain.py 41 additions, 0 deletionsopenerp/addons/test_new_api/tests/test_domain.py
- openerp/osv/expression.py 2 additions, 2 deletionsopenerp/osv/expression.py
Please register or sign in to comment