diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2019-03-15 15:15:39 +0100 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-03-19 09:35:31 +0100 |
| commit | 492764c559fae553810fb24e16d43a5719cf8d87 (patch) | |
| tree | 7e8f466ecd1033fe6b813155865dc171e56d09db /doc/python3.rst | |
| parent | 0281858c2a944706b382ce5fb250330fa2746b46 (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 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
