Skip to content
Snippets Groups Projects
user avatar
david authored
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#65366

X-original-commit: dca2127f
Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
Co-authored-by: default avatarsimongoffin <sig@odoo.com>
5ee81665
History
Name Last commit Last update