Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
741 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
bře 23
2406
2
srp 24
1402
0
led 25
1254
1
říj 23
8360
2
čvn 23
1714