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
|Asked: 12/12/13, 11:13 AM|
|Seen: 4683 times|
|Last updated: 2/12/16, 6:09 PM|