Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
The Scheduler allows you to regularly run a processs.
But the "action triggered" must be a method on an object.
I would like to run a Server Action instead - what would be my options?
As everything in OpenERP, a server action is an object, and you want execute the method
1. Create the server action you want to execute
2. Find its ID
You'll need the ID of the server action to pass as argument of your scheduled action. You can find it in several ways: select the action and look for
id=<action_id> in the address bar, enable developer mode and select view_log in the developer options, find it in the database using psql or pgadmin...
3. Create the scheduled action
Use the following values:
(cr and uid are passed automatically)
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/12/13, 11:13 AM|
|Seen: 4893 times|
|Last updated: 2/12/16, 6:09 PM|