diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2019-03-15 15:23:14 +0100 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-03-19 09:35:31 +0100 |
| commit | c0bb910dff920ebb05f52b3b1da12f07e5846f51 (patch) | |
| tree | 33ffe5a1fff59b1771b1b50e2124d482309aed90 /addons/web/static/src | |
| parent | 492764c559fae553810fb24e16d43a5719cf8d87 (diff) | |
[FIX] hr_holidays: Skip validation rights if no validation
If validation type is set to `no_validation`, checking
if a target state is achievalbe should bypass
normal checks for the user's own leaves.
Otherwise, ir.rule raises an AccessError as the user
doesn't normally have the rights for leave in
state `validate`.
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
