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 Update One2many Field From OnChange of Field in Odoo 17 | Odoo 17 Development Tutorials – CBMS Odoo ERP

In Odoo, A One2many field signifies a one-to-many relationship between two models, allowing one model to have multiple related records from another model. The onChange method triggers actions when a field’s value changes, commonly used to update other fields. To update a One2many field from another field’s onChange method in Odoo, declare the One2many field to […]