跳至內容
選單
此問題已被標幟
734 瀏覽次數

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
2403
2
8月 24
1397
0
1月 25
1251
1
10月 23
8357
2
6月 23
1712