Odoo Help


5 Answers

Leonardo Donelli

--Leonardo Donelli--
| 5 4 10
Roma, Italy
--Leonardo Donelli--

Physics student and part-time developer.

Leonardo Donelli
17.01.14, 08:01

As everything in OpenERP, a server action is an object, and you want execute the method run

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:

  • Object: ir.actions.server
  • Method: run
  • Arguments: ([<id_of_the_action],) e.g. ([596],)
    (cr and uid are passed automatically)

Hi Wassim,

I noticed your observation about Odoo 10 but I'm getting an error

ValueError: <type 'exceptions.NameError'>: "name '_run_actions' is not defined"

Am I missing something? I just typed


1 Comment
14.01.19, 09:59

i think your method is private. remove '_' from beginning

03.09.17, 19:47

Just an additional note:
For odoo10 use the method: _run_actions instead of run

Ask a Question
Keep Informed
0 follower(s)
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.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now