diff options
| author | RomainLibert <rli@odoo.com> | 2018-02-09 16:01:51 +0100 |
|---|---|---|
| committer | RomainLibert <rli@odoo.com> | 2018-05-25 11:52:17 +0200 |
| commit | 5c24368e3383eb26e26bd9daa91e8f97f68b21f3 (patch) | |
| tree | 030df3afefa7539c5236470780834df6ab2f242e /addons/web/static/src | |
| parent | d58c77b1ee7a4175366aeb067893876e73d63a2a (diff) | |
[IMP] hr_expense : improve access rights of manager/officer
Currently the distinction between expense officers and expense managers
doesn't make sense because they both have the same rights.
This commit aims at making a clear difference between an officer and a
manager.
After this commit the rights will look like this :
* Expense Manager :
- See and approve any expense
* Expense Officer :
- Can see and approve the expenses of employees in his department
or employees for which he is the manager (field parent_id on
hr_employee)
- Cannot approve his own expenses
* Simple user :
- Can only see his own expenses
- Can only send his expenses to a manager (either the manager of
his department, his direct manager [parent_id field] or an
expense manager)
Related to task #51520
Closes #23033
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
