Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3110 Visninger

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
apr. 24
1214
1
dec. 22
44811
1
jun. 17
3436
0
mar. 15
5520
1
jul. 25
413