Arunima PFeb. 5, 2019
Schedulers are computerized activities or automated actions that run automatically over a time span and can complete plenty of things. The usage of Scheduled Actions are for regular running of a process. However, Scheduled Actions In Odoo enable to execute activities database without requiring manual interaction. They are one of the most effective highlights of OpenERP. As the name indicates they can plan any action like sending email, checking stock amount, synchronisations, receipt and purchase activities, and so on... Thus, a scheduler executes a specific function at standard intervals, without human impedance.
Go to: Settings→Technical→Automation→Scheduled Actions
There is a scheduled action’s table.
Priority: The priority of the job as an integer:0 indicates high priority on the other hand 10 means lower priority.
Action Name: Name of the job.
Next Execution Date: Next planned execution of this job.
Interval Number: Repeat every given interval.
Interval Unit: Unit of interval
No of calls: How many times the method is called. A negative number indicates no limit.
Active: Can activate or deactivate job.
There are several scheduled actions already. In the same vein you can also create new scheduled action.
Model on which the server actions runs.
Specify if missed occurrences should be executed when the server restart.
Example:
Here I choose Procurement: run scheduler.
At first set a reordering rule to a product.
Product→Select a Product→Reordering Rules
Note: Make sure that the product route is only Buy. and the product is a stockable product.
Then make a sales order/quotation.
Sales→Quotation→Create.
If the product on hand is less than minimum quantity as we set in reordering rule, Then in the purchase module a new purchase order will create as per schedule.
By default in Odoo, the scheduler will run at the specified time mentioned in the cron job or you can run manually. So for that go back to Scheduled Actions.
Then click on Run Manually button the top left of Scheduled Actions.
Note: This feature is not visible by default, So you need to enable developer mode.
Then go to Purchases and check new Requests for Quotation.
Automatically create a new purchase order quotation.
In short, Scheduled Actions in Odoo is a great feature to save your time and to make things go smoother.
Hope you understood the Scheduled Actions In Odoo very well..If you enjoy our content here, you’ll love the stuff we share on LinkedIn.
0