Understanding the ORM decorators

In the Odoo Python code encountered so far we can see that decorators, such as @api.multi, are frequently used in model methods. These are important for the ORM, and allow it to give those methods specific uses.

Let's see the ORM decorators we have available, and when each should be used.

Get Odoo 11 Development Essentials - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.