summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorTWA <twa@odoo.com>2018-10-10 11:55:19 +0000
committerYannick Tivisse <yti@odoo.com>2018-10-19 07:52:41 +0000
commit398f0eb8e9f26a922dcf75ae91ce18c70999f721 (patch)
tree3b54e59112b28ee065d5e6d2ab1e78f7c5b8715c /addons/web/static/src/js/fields/basic_fields.js
parente61286ecd4ab0ff969f91aff1dc63859f7245852 (diff)
[IMP] hr_holidays: Define notifications by leave type
Purpose ======= - A manager could want to follow only home working of its own department - A HR officer could want to follow only sick leaves of all dpts. We have to improve what people follow and how they follow it in the leaves module Specifications ============== Subtype on department --------------------- In department form view, right now, people can follow approvals Instead we should have some generic and specific subtypes depending on the leave type For instance, a HR Officer wants to follow only sick leaves and a manager only home working Following mechanism ------------------- Remove first / second approval subtype differences if a leave type is not linked to a specific subtype, consider only classic people follow it (employee and assigned HR people / manager) Link leave type to subtypes, with some by default (i.e. home working, ...), not mandatory When creating a leave type, link it to the department to be able to activate the subtype for only one department.
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions