-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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#127891 X-original-commit: c6b0481 Signed-off-by: John Laterre (jol) <jol@odoo.com>
- Loading branch information
Showing
2 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters