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 […]
The function of this decorator will be called on to create or write actions on the record. In addition, the function is invoked whenever the named fields of the record are modified and the validations can be done for the fields in this function. #odoodevelopmentvideos Furthermore, it can be done by raising an exception message […]