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:15:39 +0100
committerYannick Tivisse <yti@odoo.com>2019-03-19 09:35:31 +0100
commit492764c559fae553810fb24e16d43a5719cf8d87 (patch)
tree7e8f466ecd1033fe6b813155865dc171e56d09db /addons/web/static/src/js/tools/debug_manager.js
parent0281858c2a944706b382ce5fb250330fa2746b46 (diff)
[FIX] hr_holidays: Don't check approval rights in onchange
When this method is called in the context of an onchange `self.ids` is an empty list. This is a problem when calling `holiday.check_access_rule('write')` because it does not find any valid holidays and thus raises an AccessError.
Diffstat (limited to 'addons/web/static/src/js/tools/debug_manager.js')
0 files changed, 0 insertions, 0 deletions