SQL Constraints in Odoo 17 | What is SQL Constraints in Odoo? | Odoo 17 Development Tutorials – CBMS Odoo ERP

In Odoo 17, SQL constraints are used to enforce data integrity rules at the database level. These constraints ensure that the data stored in the database meets certain criteria or conditions. SQL constraints are defined within the Python models of an Odoo module and are then translated into corresponding SQL constraints when the module is […]

How to Make a Field Storable in Odoo 17 | Odoo 17 Technical Videos | Odoo 17 Development Tutorials – CBMS Odoo ERP

In Odoo 17, to make a field storable, set store=True when defining it. By default, fields are storable unless set to store=False. Storable fields ensure data persistence across sessions and server restarts, crucial for maintaining data integrity and retrieval. However, computed or related fields are not stored by default (store=False) unless explicitly specified as store=True. […]