Files
odoo_source/addons/purchase_mrp
David (dafr) 3b22c2c340 [FIX] purchase_mrp: convert kit price unit to correct currency
How to reproduce:
 - Create Product 'Kit': storable, avco
 - Create Product 'CMP': storable, avco
 - Create BoM => type: kit | product: 'Kit' | Components: 3 units of 'CMP'
 - Create mock currency (or update existing one), with a rate of 'Unit per USD' = 100
 - Create purchase order in Mock Currency for 1 unit of 'Kit', with a unit price of 3,000.00 MOC
 - Confirm Purchase Order and receive products
 => Go to the created valuation layer: Unit price for CMP is $1.000,00 instead of $10.00

 OPW-3453703

closes odoo/odoo#137183

X-original-commit: ca05e3993fd0d8bd2b7333a9be15dc042f95fe6e
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Signed-off-by: David Fesquet (dafr) <dafr@odoo.com>
2023-10-02 06:54:41 +00:00
..
…
…