summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields
diff options
context:
space:
mode:
authorlbs-odoo <lbs@odoo.com>2018-10-31 15:31:34 +0000
committerYannick Tivisse <yti@odoo.com>2018-11-07 13:52:37 +0000
commitc99a6d2fb5b22bdbdf36b49e0df508a0224d4b77 (patch)
tree65eb632dfe6dd023534fd7939ed7bba8c8c876f0 /addons/web/static/tests/fields
parentbc930e2e67976394725d7528ec1d16f81fa7cac4 (diff)
[IMP] hr_holidays: Add team leader group and leave_manager_id
Purpose ======= 1/ A team leader is not able to validate leaves for his own team. 2/ Another person than the manager can be supposed to validate the leaves for a certain employee Specification ============= 1/ New hierarchy: Team Leader < Officer < Manager People in Team Leader access group will now be able to approve leaves for employees in their team. - Added the new access group - Added rules for people in this group to read or write appropriate records 2/ Add 'leave_manager_id' field on employees to refer to the Team Leader. - Added the new field to Employee model - Added the field to the view so that it is visible - Modified a filter in a view so that it is more relevant according to its name (My Team Leaves) - Added a filter in a view for managed employees TaskID: 1888653 closes odoo/odoo#28352
Diffstat (limited to 'addons/web/static/tests/fields')
0 files changed, 0 insertions, 0 deletions