Model Constrains: Python Constrains in Odoo 16 | @api.constrains | Odoo 16 Development Tutorial – CBMS Odoo ERP

In odoo Model constrains help to set validations of recordsets based on the conditions. They are of different types, here this video explains Python constrains which help to set validations for each recordset and act as a reminder for users in some cases. #odootutorials #odoo16 #pyhton Video Chapters 00:00 Introduction to Model Constrains 01:26 @api.constrains […]

SQL Constraints in Odoo 15 | What is SQL Constraints in Odoo? | Odoo 15 Technical Tutorials – CBMS Odoo ERP

SQL constraints are used to specify rules for the data in a table. Constraints are used to limit the type of data that can go into a table. This ensures the accuracy and reliability of the data in the table. #odoo15technicalvideos Video Contents ————————– 0:00 Introduction 0:36 Providing SQL constraints for a model If there […]

Model Constraints & Python Constraints in Odoo15 | api.constrains() | Odoo 15 Development Tutorials – CBMS Odoo ERP

Odoo helps you to set validations to recordsets with the help of python and model constraints. Mainly there are two ways in which constraints can be set to variants in Odoo. They are python and SQL constraints. #odoo15developmentvideos Basically python constraints are set in odoo using the class decorator api.constrains() which takes in the field […]

How to Use Constraint and SQL Constraint? | Model Constraints & SQL Constraints in Odoo 15 – CBMS Odoo ERP

Odoo provided constraints with which we can add validations to Odoo models. Basically, Odoo provides two ways to apply constraints, namely python constraints, and SQL constraints. In this video, we’ll be discussing what are SQL constraints in odoo, how we can apply them to our models, and different methods used in SQL constraints. Video Chapters […]