-
- Downloads
[FIX] hr_expense: Don't always recompute product cost
Fix a bug introduced by 67901a44 When an expense is submitted and for the steps after, there is no need to recompute the product_cost as it may be confusing or generate discrepancies with the account move by changing the totals. task-3580004 closes odoo/odoo#141400 Signed-off-by:Olivier Colson (oco) <oco@odoo.com>
Showing
- addons/hr_expense/i18n/hr_expense.pot 3 additions, 2 deletionsaddons/hr_expense/i18n/hr_expense.pot
- addons/hr_expense/models/hr_expense.py 9 additions, 3 deletionsaddons/hr_expense/models/hr_expense.py
- addons/hr_expense/models/product_product.py 2 additions, 2 deletionsaddons/hr_expense/models/product_product.py
- addons/hr_expense/tests/test_expenses.py 56 additions, 0 deletionsaddons/hr_expense/tests/test_expenses.py
Loading
Please register or sign in to comment