Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3083 Переглядів

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
квіт. 24
1190
1
груд. 22
44734
1
черв. 17
3426
0
бер. 15
5471
1
лип. 25
363