Skip to Content
Menu
This question has been flagged

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()


Avatar
Discard
Related Posts Replies Views Activity
2
Mar 23
2450
2
Aug 24
1431
0
Jan 25
1316
1
Oct 23
8393
2
Jun 23
1735