Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
887 Prikazi

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
mar. 23
2590
2
avg. 24
1557
0
jan. 25
1475
1
okt. 23
8564
2
jun. 23
1821