Skip to content
Snippets Groups Projects
Commit e232f3ea authored by Yolann Sabaux's avatar Yolann Sabaux
Browse files

[FIX] hr_expense: set correct account_id on upload

Steps to reproduce:
- On the expense product by default, set an account_id
- Upload an expense

Issue:
The account_id that we set is not the one on the newly created expense

Cause:
We don't give any account_id during creation. Therefore, the account_id by default is set:
https://github.com/odoo/odoo/blob/7bcd64c51b2e87ece462c75a528c9ad6e1601633/addons/hr_expense/models/hr_expense.py#L31-L32



opw-3343007

closes odoo/odoo#126825

Signed-off-by: default avatarJohn Laterre (jol) <jol@odoo.com>
parent 11503de9
No related branches found
No related tags found
No related merge requests found
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