How to Add SQL Constraints in a Model | Odoo Technical Video – CBMS Odoo ERP

In this video we will discuss how to use sql constrains in odoo. SQL constraints are defined through the model attribute _sql_constraints. The latter is assigned to a list of triples of strings (name, sql_definition, message), where name is a valid SQL constraint name, sql_definition is a table_constraint expression, and message is the error message. […]

Odoo Wizards | Creating and Launching | Odoo 14 Development Video – CBMS Odoo ERP

This video explains Odoo Wizards: Creating and launching. Odoo Wizards describe interactive sessions with the user (or dialog boxes) through dynamic forms. A wizard is simply a model that extends the class Transient Model instead of Model Wizard records are not meant to be persistent; they are automatically deleted from the database after a certain […]