Understanding actions

We've seen already how we can modify views and how to create custom search criteria. From here, you're well on your way to making customizations that are quite useful. At some point, however, when you wish to create a new view or a specific type of filter, you are going to need to understand actions so you can change the way an Odoo application behaves.

As we learned earlier, we can use actions to trigger views. Let's begin by getting a look at the list of actions that are already in your Odoo installation. While in developer mode, under the Settings menu under Technical| Actions, choose Window Actions. You will be presented with a list:

In the preceding screenshot, we have filtered the list of actions to only those named ...

Get Working with Odoo 10 - Second 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.