Files
odoo_source/addons
sofiagvaladze aa8bfeca0c [IMP] sale_expense_margin: set purchase_price on sale.order.line for expense
Purpose: When re-invoicing the expense on the SO, the cost (purchase_price)
is not correctly set. For expenses with zero product it is set to zero,
and for the expenses with price on it, it is set to unit_price of the product.
As a result, the margin is calculated incorrectly on SO.

It should be set to the untaxed_amount of the expense in case of zero
product, or untaxed_amount of the product in case of a product with
price defined on it.

task - 2867723

closes odoo/odoo#96981

Signed-off-by: Kevin Baptiste <kba@odoo.com>
2022-08-10 16:08:06 +02:00
..
…
2022-08-03 13:44:49 +02:00
2022-08-08 12:33:03 +02:00
2022-08-10 14:43:12 +02:00
2022-08-10 16:08:06 +02:00
2022-08-08 12:33:03 +02:00