Book Image

Odoo Development Cookbook

By : Holger Brunn, Alexandre Fayolle, Daniel Reis
Book Image

Odoo Development Cookbook

By: Holger Brunn, Alexandre Fayolle, Daniel Reis

Overview of this book

Odoo is a full-featured open source ERP with a focus on extensibility. The flexibility and sustainability of open source is also a key selling point of Odoo. It is built on a powerful framework for rapid application development, both for back-end applications and front-end websites. The book starts by covering Odoo installation and administration, and provides a gentle introduction to application development. It then dives deep into several of the areas that an experienced developer will need to use. You’ll learn implement business logic, adapt the UI, and extend existing features.
Table of Contents (23 chapters)
Odoo Development Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

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, follow these steps:

  1. In the Settings top menu, select the Technical | Automation | Automated Actions menu item, and press on the Create button.

  2. Fill out the basic information on the Automated Actions form:

    • Rule Name: Deadline Near Notification

    • Related...