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
2577
2
Aug 24
1546
0
Jan 25
1453
1
Oct 23
8549
2
Jun 23
1815