Skip to Content
Menú
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
Descartar
Related Posts Respostes Vistes Activitat
2
de març 23
2456
2
d’ag. 24
1439
0
de gen. 25
1319
1
d’oct. 23
8396
2
de juny 23
1738