Open SoniaViciana opened 3 months ago
When you introduce a vendor bill, taxes are automatically emptied, so that's the problem. How did you get to have the taxes filled?
I put it to make more clear the error on expense entries -> 3.102,60 - 1.743,41 = 1.359,19
I'm not getting such problem in runboat with just hr_expense_invoice
installed.
Check http://oca-hr-expense-16-0-4e4ed2640742.runboat.odoo-community.org/web?debug=1#id=5&cids=1&menu_id=194&active_id=18&model=hr.expense.sheet&view_type=form (with the DB base-only):
Same problem:
"6000000 Expense" account amount it's wrong, the only difference is the tax: 30,58 * 1,15 = 35,17 Double imputation to expense, without https://github.com/OCA/hr-expense/pull/234 it didn't happen
@SoniaViciana there's no BILL/2024/05/0002 in the DB I'm mentioning (you have to logout and go to the other DB):
The problem that I have reported in this issue is when within a report there are 2 or more expense lines, one with an invoice and the other without. The test you have done does not represent the reported problem because there is only one expense line. Do we limit users from being able to include more than one expense line in a report?
OK, I will try that case.
Module
hr_expense_invoice
https://github.com/OCA/hr-expense/pull/234Describe the bug
If i have this expense report:
Journal entries details will be:
So, untaxed amount does not match:
To Reproduce
Affected versions: 16
Steps to reproduce the behavior:
@pedrobaeza