Files
odoo_source/addons/hr_expense
det f3569d1c9c [FIX] hr_expense: amount in needed terms
Steps to reproduce:

- set early_pay_discount_computation on company to mixed.
- create an expense with taxes
- try to post entries from the expense
> traceback

This commit adds the missing key in the needed_terms computed
on in hr_expense. We could have bypassed the computation in the
case of expenses but simply adding the key sounds like a more
future-proof solution.

opw-3244294

closes odoo/odoo#118250

X-original-commit: 7922a7db0d840a33a3db54da1a359ac95e61cb7b
Signed-off-by: Laurent Smet <las@odoo.com>
Signed-off-by: Detry Thomas (det) <det@odoo.com>
2023-04-12 08:05:47 +02:00
..
2023-04-05 15:11:17 +02:00