Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3293 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
apr 24
1297
1
dic 22
44956
1
giu 17
3544
0
mar 15
5638
1
lug 25
565