diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2019-03-04 10:10:34 +0100 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-03-19 09:35:31 +0100 |
| commit | dc19707baa167c58c845be3dbf1b169b7faeff7a (patch) | |
| tree | cabcea4f3c73f32a09556a3678fe2f5b1e24b459 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 955427bb496fcfa8f682a4d714369e87a1568f09 (diff) | |
[FIX] l10n_be_hr_payroll_fleet: Fix access rights issues
If a user is member of `hr_contract.group_hr_contract_manager`
but not member of `fleet.fleet_group_manager` some access issues arise
The issues are related to the `car_id` field of `hr.contract`
because the user has no access rights for `fleet.vehicle`.
Fix to solve the issue:
Make all car related field of contracts available
to fleet manager only.
If the contract manager want to be able to manage cars on
contracts, he must manually be granted fleet manager access.
This is a requirement if the contract manager want to use the
company car feature.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
