odoo/documentation#6933
Created by Upgrade, Aslam Noman (asno)
Blocked
- Merge method
- Review
-
CI
- ci/documentation: (runtime 96s)
- ci/codeowner_coverage: (runtime 15s)
- label
- odoo-dev:15.0-boolean_default-asno
- head
- 17ac807d6a37420685d46f110b2a76ef21ca5476
| odoo/documentation | |
|---|---|
| 15.0 | #6933 missing r+ #6897 |
| 16.0 | |
| 17.0 | |
| 18.0 | |
| saas-18.2 | |
| saas-18.3 | |
| saas-18.4 | |
| 19.0 | |
| saas-19.1 | |
| master |
[IMP] orm : add info about boolean default
When a default value for boolean is set as False, the values of new column for existing records is set to NULL. In python, FALSE and NULL might mean same thing in certain contexts but its not the case for Sql(we allow to add sql constraints).
concerned code: https://github.com/odoo/odoo/blob/15.0/odoo/models.py#L2767