Automation¶
See What is the difference between a server action and a cron type action for some more information.
Server Action¶
By using Server Action (ir.actions.server) to create a quick and easy configuration of a which is required to call very often. Like ‘Execute Python Code’, ‘Create a new Record’, ‘Write on a Record’, etc. There is a “Create Contextual Action” button available in action form. It will create an entry in the More menu of the base model. This will allow to run them in mass mode easily through the interface from the list view.
Automated Action¶
If an action should be triggered automatically on a predefined frequency, the actions can be scheduled (ir.cron). This can be a simple call to the model’s method.
See Automated action in Odoo and How to create scheduled action in odoo.