diff options
| author | William Henrotin <whe@odoo.com> | 2019-05-23 06:58:33 +0000 |
|---|---|---|
| committer | William Henrotin <whe@odoo.com> | 2019-05-28 06:50:00 +0000 |
| commit | 2c299e7b21dc583afcb79cee727e343f5410f7c4 (patch) | |
| tree | 2454e66cdf41a4455949875efe49e18144328a21 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 9ab3270c5a340741896c41cf42444c1c51790360 (diff) | |
[REF] resource: relax ir rule on leaves
The field user_id on resource.resource is optional but the access rules
on resource.calendar.leaves request that field set. Which means a user
can only see his own leaves but not the ones of a machine's calendar for.
instance
This commit relax those rules to give access to the user's leaves and the
one not assigned to a specific user
Task : 1892819
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
