odoo technical video
Video Tutorial

How to use @api.constrains in Odoo 15

JUN 24,2022
Description:
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. Furthermore, it can be done by raising an exception message ValidationError when the validation fails.

odoo videos odoo development odoo tutorial odoo 15

WhatsApp