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

I'm trying to call an ir.actions.client from my thread, but it does not work. However, when I try to call this action from a button press, it works.

This is my call code: 

action_message = self.env.ref('hr_attendance.hr_attendance_action_greeting_message').read()[0]
return action_message
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มิ.ย. 20
2701
0
ก.พ. 19
3051
1
พ.ย. 18
4675
Is it supported to alter an action? แก้ไขแล้ว
1
ต.ค. 18
3408
0
ส.ค. 25
8