summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavid <david.vidal@tecnativa.com>2020-12-10 16:00:10 +0000
committerGoffin Simon <sig@odoo.com>2021-02-09 09:07:10 +0000
commit4d162a36c8d24799f7b64d73a199a0ec87a30ee9 (patch)
tree15d7b2311b32b15ef1db5ebe1847884bfefd2f29
parentd950d8c61ff466305d7dee559695b8772311e185 (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#65396 X-original-commit: 5ee816650e03363b9215e137462d454e462378c8 Signed-off-by: Simon Goffin (sig) <sig@openerp.com> Co-authored-by: simongoffin <sig@odoo.com>
0 files changed, 0 insertions, 0 deletions