Today I am going to show you how to create scheduled action in odoo. Scheduled action are also called cron job or automated action. In this tutorial I will show you how to create cron jobs and trigger some events like (send emails, create and delete some records, checking your stocks, synchronizations and much more.)
Scheduled Action
What is Scheduled Action in Odoo
In Odoo Schedulers are automated or computerized activities, than can trigger on some given time span and can perform some activities without human interaction as I mentioned above.
How to play with scheduled action
Following are the steps to create scheduled action.
Create an XML file and give any name (any name) to that file
Copy and paste below code in above created file
Set scheduler to execute a specific function at given intervals
Create function (as mentioned above step) in your python code, that will perform your desired activities without human impedance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 Comments