summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorRobot Odoo <xmo+roboto@odoo.com>2018-10-19 11:44:24 +0200
committerGitHub <noreply@github.com>2018-10-19 11:44:24 +0200
commited322f76a2b96472dfb60c51bad9bed731fdb611 (patch)
tree3b54e59112b28ee065d5e6d2ab1e78f7c5b8715c /addons/web/static/src
parent9e908175307611c0ad224de1d00370d90511e9e6 (diff)
parent398f0eb8e9f26a922dcf75ae91ce18c70999f721 (diff)
[IMP] mail: Return a browse record in _track_subtype instead of xmlid
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. closes odoo/odoo#27620
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions