diff options
| author | RomainLibert <rli@odoo.com> | 2019-06-05 10:00:12 +0000 |
|---|---|---|
| committer | RomainLibert <rli@odoo.com> | 2019-06-05 11:14:55 +0000 |
| commit | c081ee046249f67c10484fddb296a8529f5aa665 (patch) | |
| tree | 0dda8475c54e0ec4546325fd5e7255629f1ce696 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 691b0e7e6fd1179452b19bf69f18a3692df79322 (diff) | |
[FIX] hr_holidays: fix multi company issue in onchange
If you are logged into a company that differs from the company of your
employee, you won't be able to read the informations on that employee,
and you will have a crash.
Instead of taking the employee linked to the current user, we use search
in order to first apply the ir.rules hence we ensure that we will be
able to read the needed informations.
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
