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