Using automated actions on time conditions

Automated actions can be used to automatically trigger actions based on time conditions. We can use them to automatically perform some operation on records that meet certain criteria and reach time condition.

As an example, we can trigger a reminder notification for Project tasks one day before their deadline, if they have any. Let's see how this can be done.

Getting ready

To follow this recipe, we will need to have both the Project Management app and the Automated Action Rules addon already installed, and have the Developer Mode activated. We will also need the server action created in the Using Python code server actions recipe.

How to do it...

To create an automated action with a timed condition on tasks, ...

Get Odoo Development Cookbook 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.