Tree View Decoration Attribute in Odoo 17 | Odoo 17 Development Tutorials | Advanced Views in Odoo – CBMS Odoo ERP

In odoo we might occasionally need to separate records according to certain criteria. Certain modules offer this feature; in the list view, for example, the records are coloured differently to indicate their separation. #odoo17development Additionally, the records are shown in various colours according to the situations. Finding and identifying the records from the list based on […]

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. […]