Automate actions in threaded models
Project description
This module allows to automate several process according to some rules.
This is useful for creating automated actions on your database like:
Send a welcome email to all new partners (or filtered according to some rules)
Remember to online customers that they forgot their basket with some items
Send documents to sign to all new employees
Table of contents
Usage
Configure your processes
Access the Automation menu.
Create a new Automation Configuration.
Set the model and domains.
Go to Configuration -> Filters to create filters as a preconfigured domains. Filters can be established in the proper field in the Automation Configuration record.
Create the different steps by clicking the “ADD” button inside the automation configuration form.
Create child steps by clicking the “Add child activity” at the bottom of a created step.
Select the kind of configuration you create. You can choose between:
Periodic configurations: every 6 hours, a process will check if new records need to be created.
On demand configurations: user need to execute manually the job.
Press Start.
Inside the process, you can check all the created items.
Configuration of steps
Steps can trigger one of the following options:
Mail: Sends an email using a template.
Server Action: Executes a server action.
Activity: Creates an activity to the related record.
All the steps need to specify the moment of execution. We will set the number of hours/days and a trigger type:
Start of workflow: It will be executed at the previously-configured time after we create the record.
Execution of another step: It will be executed at the previously-configured time after the previous step is finished properly.
Mail opened: It will be executed at the previously-configured time after the mail from the previous step is opened.
Mail not opened: It will be executed at the previously-configured time after the mail from the previous step is sent if it is not opened before this time.
Mail replied: It will be executed at the previously-configured time after the mail from the previous step is replied.
Mail not replied: It will be executed at the previously-configured time after the mail from the previous step is opened if it has not been replied.
Mail clicked: It will be executed at the previously-configured time after the links of the mail from the previous step are clicked.
Mail not clicked: It will be executed at the previously-configured time after the mail from the previous step is opened and no links are clicked.
Mail bounced: It will be executed at the previously-configured time after the mail from the previous step is bounced back for any reason.
Activity has been finished: It will be executed at the previously-configured time after the activity from the previous action is done.
Activity has not been finished: It will be executed at the previously-configured time after the previous action is executed if the related activity is not done.
Important to remember to define a proper template when sending the email. It will the template without using a notification template. Also, it is important to define correctly the text partner or email to field on the template
Records creation
Records are created using a cron action. This action is executed every 6 hours by default.
Step execution
Steps are executed using a cron action. This action is executed every hour by default. On the record view, you can execute manually an action.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Enric Tobella (Dixmit)
Other credits
The development of this module has been financially supported by:
Associacion Española de Odoo (AEODOO)
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/automation project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo_addon_automation_oca-16.0.1.0.0.7-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_automation_oca-16.0.1.0.0.7-py3-none-any.whl
- Upload date:
- Size: 170.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 027ded0a95f41bd38a4f9bab4e48d8f207453a927da9ea95af9a022976298bc2 |
|
MD5 | f9bd918fd143df04f1891d418e5bd317 |
|
BLAKE2b-256 | dfbe1dd2216f81855f7932b5f9468cf5b6ae80ea82e1c16c235850d6d829b8a0 |