Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3065 Zobrazení

I know about running model functions when I install or update a module, by leveraging the function tag:


Can I do this with a Server Action?  I am not sure how to go about defining which action to search for.  This is what I have:

<function name="run" model="ir.actions.server">
      <function name="search" model="ir.actions.server">
        <value eval="[('name','=','MY_SERVER_ACTION')]"/>
      </function>
    </function>

I just get what appears to be an infinite loop of "install the module", "install the module" until the server times out.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
dub 24
1186
1
pro 22
44726
1
čvn 17
3426
0
bře 15
5463
1
čvc 25
360