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

Hi All,

I am writing a new server action to trigger an all-existing server action in another model. For a specific reason, it will not appear in the model's action menu. Did I do something wrong? 


Code:
server_action = env['ir.actions.server'].search([('id','=','1233')])

if server_action:

  server_action.run()


アバター
破棄
関連投稿 返信 ビュー 活動
2
3月 23
2466
2
8月 24
1441
0
1月 25
1323
1
10月 23
8408
2
6月 23
1739