summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.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:35:49 +0000
commit6d34a19ba8caf287d2973a1b1fd1430b39d5612d (patch)
treeb25a85cdd5eb29b7ef50fb3964be01efca6f9103 /addons/web/static/src/js/fields/basic_fields.js
parent9761342c12d450dcc84248ba4084b0bee5d59697 (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. closes odoo/odoo#33903 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions