diff options
| author | Yannick Tivisse <yti@odoo.com> | 2019-05-14 10:54:29 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-05-14 11:07:46 +0000 |
| commit | fba09508b168729e8abf8da1b18c7131b82c3bcf (patch) | |
| tree | bb941d2f923a033dfe6f771c4156b1fa26101bd8 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 85cbb070ad0223d76abff42532999d36f712f222 (diff) | |
[FIX] l10n_be_hr_payroll_fleet: Make contract managers fleet managers
- Install `l10n_be_hr_payroll_fleet`
- Connect as admin
- Change demo user rights:
- Remove fleet (nothing, not user, not manager)
- Set employee Manager.
- Connect as demo
- On an employee, click the "Contracts" smart button.
- Try to create a contract.
Before this revision, access right issues were raised:
- Just after the create, as default values couldn't be computed,
- After the save as well, because of defaults and computed fields.
The real use case here is for our own sake: Dubai HR Officers
do not have access to Fleet as they do not have company cars,
but they can't create contracts for their own employees
without having access to fleet.
closes odoo/odoo#33120
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
