summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/tools/debug_manager.js
diff options
context:
space:
mode:
authorLucas Lefèvre <lul@odoo.com>2019-03-15 15:23:14 +0100
committerYannick Tivisse <yti@odoo.com>2019-03-19 09:35:31 +0100
commitc0bb910dff920ebb05f52b3b1da12f07e5846f51 (patch)
tree33ffe5a1fff59b1771b1b50e2124d482309aed90 /addons/web/static/src/js/tools/debug_manager.js
parent492764c559fae553810fb24e16d43a5719cf8d87 (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/js/tools/debug_manager.js')
0 files changed, 0 insertions, 0 deletions