How to Add SQL Constraints in a Model | Odoo Technical Video
Channel:
Subscribers:
28,000
Published on ● Video Link: https://www.youtube.com/watch?v=n77ZRWyIMWY
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
Other Videos By Cybrosys Technologies
Tags:
odoo
odoo erp
cybrosys odoo
odoo apps
sql constraints in odoo
model constraints
odoo constraints in sql
add constrains in odoo
constraint validations to a model in odoo
how to add sql constraints in odoo
development tutorial in odoo
odoo constraints
model constrains in odoo
development module in odoo
crud operation in odoo
unique constraints in odoo
python constraints in odoo
postgres constraints in odoo
constraint in odoo