Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
769 มุมมอง

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


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
¿how to create planned actions? แก้ไขแล้ว
2
มี.ค. 23
2454
2
ส.ค. 24
1434
0
ม.ค. 25
1317
1
ต.ค. 23
8394
2
มิ.ย. 23
1736