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 Sales Orders. (Be sure to type the plural: sales
!) Let's now create our own custom rush order action that will allow us to create a menu to easily pull up only the sales orders that are rush orders. This is a perfect example of...