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 ValidationError when the validation fails. #odootutorials
Video Contents
————————-
0:00 Introduction
0:40 Adding @api.constrains
1:45 Checking the working
Connect With Us:
————————
➡️Website:
➡️Email : info@cybrosys.com
➡️Twitter:
➡️LinkedIn:
➡️Facebook:
➡️Instagram:
➡️Pinterest:
#api #Constrains #Odoo #Odoo #Development #Tutorials