summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorRomainLibert <rli@odoo.com>2019-06-05 10:00:12 +0000
committerRomainLibert <rli@odoo.com>2019-06-05 11:14:55 +0000
commitc081ee046249f67c10484fddb296a8529f5aa665 (patch)
tree0dda8475c54e0ec4546325fd5e7255629f1ce696 /addons/web/static/tests/fields/basic_fields_tests.js
parent691b0e7e6fd1179452b19bf69f18a3692df79322 (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/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions