summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authordavid <david.vidal@tecnativa.com>2020-12-10 16:00:10 +0000
committerGoffin Simon <sig@odoo.com>2021-02-02 10:22:07 +0000
commitda758c44b19a9339f0c0b1b6a74c11e3e5491a64 (patch)
tree411d864386280613a7d59427cbdd26743a0bb014 /addons/web/static/src/js/fields/basic_fields.js
parent0215bc8ca0ed7e9681f1c50bd70a9db5dfccc440 (diff)
[FIX] hr_expense: wrong company account when creating from mail
In a multicompany environment, when a expense is created from the expense email alias, the expense account is computed with SUPERUSER context, so depending on the SUPERUSER set company, we could get a mismatch of expense and employee's company and the account one, wich causes a subsequent error when trying to post the expense. closes odoo/odoo#65369 X-original-commit: c4225c5a9afdeb3f78d75fa9e407762485e13d2b Signed-off-by: Simon Goffin (sig) <sig@openerp.com> Co-authored-by: simongoffin <sig@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions