-
- Downloads
[FIX] hr_holidays: mail notification on leave request confirm
The followers of the departments subscribed to the `Leaves/Allocations Confirmed` are supposed to receive a mail notification when an employee confirms a leave request. It was no longer the case since the below revision: 2be1dfc1 This revision subscribes the followers of the department following the `confirmed` subtype manually ,on the leave request confirmation, because `message_auto_subscribe` only works on fields for which the value is passed to the `create` or `write` methods, it doesn't work for related/computed fields This can be removed as soon as `department_id` on `hr.holidays` becomes a regular fields or as soon as `message_auto_subscribe` works with related/computed fields. opw-676521
Please register or sign in to comment