Skip to content
Snippets Groups Projects
Commit dca2127f authored by david's avatar david
Browse files

[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#63188

Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
parent 3d0871d1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment