summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-05-02 16:17:09 +0200
committerDenis Ledoux <dle@odoo.com>2016-05-02 16:21:20 +0200
commit341d9317828c4e54705cd51035e034cfa49aed10 (patch)
treed26d231b1c6113a2f5d718ea47585099aa685bb7 /addons/web/static/src/js/framework/session_instance.js
parent822966d25d0f46f69c4d400d758b60f3a628139b (diff)
[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: 2be1dfc1ed7c9814cd3dbf4eb4cc95f842f738c2 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
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions