Skip to Content
Menu
This question has been flagged

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
Discard
Related Posts Replies Views Activity
0
Apr 24
451
1
Dec 22
43370
1
Jun 17
2737
0
Mar 15
4483
0
Nov 24
132