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

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
2880
0
ก.พ. 19
3221
1
พ.ย. 18
4871
Is it supported to alter an action? แก้ไขแล้ว
1
ต.ค. 18
3637
2
ก.ย. 25
236