Files
odoo_source/addons/purchase_stock
David (dafr) 8c5d533c8d [FIX] purchase-stock: Limit get_price_unit from invoice to 'purchase' purchase_method
# HOW TO REPRODUCE
- Create Product P, storable, AVCO
- Create Purchase Order for 100 units of P for $10 each > confirm
- Receive 40 units of P, create backorder
- Create Bill, change price to $12, confirm
- Return 10 units of P
- Receive 60 units of P
=> unit-cost in SVL is $12 instead of $10

OPW-3635451

closes odoo/odoo#149312

X-original-commit: 734149fbb3473f9a943c47d4ec13ab16afe2b35a
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Signed-off-by: David Fesquet (dafr) <dafr@odoo.com>
2024-01-18 07:10:57 +00:00
..
…
2023-10-25 18:10:54 +00:00