filmov
tv
How to Add SQL Constraints in a Model | Odoo Technical Video

Показать описание
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 #Odoo14 #OdooTechnical #Odoo14Technical
#Odoo #Odoo14 #OdooTechnical #Odoo14Technical