Skip to Content
Menu
This question has been flagged
768 Rodiniai

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


Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
kov. 23
2453
2
rugp. 24
1434
0
saus. 25
1317
1
spal. 23
8394
2
birž. 23
1736