コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3059 ビュー

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.

アバター
破棄
関連投稿 返信 ビュー 活動
0
4月 24
1183
1
12月 22
44725
1
6月 17
3425
0
3月 15
5459
1
7月 25
359