Hi, I've tested the fix and would recommend one small change. When changing the product quantity after changing the UOM, the UOM will be reset back to the default one. Trivial issue but a bit of a nuisance.
Patch attached. ** Patch added: "purchase.py.diff" https://bugs.launchpad.net/openobject-addons/+bug/782149/+attachment/2170645/+files/purchase.py.diff -- You received this bug notification because you are a member of C2C OERPScenario, which is subscribed to the OpenERP Project Group. https://bugs.launchpad.net/bugs/782149 Title: [PS] Wrong calculated price in a PO when the Supplier UoM is different than the Purchase UoM Status in OpenERP Modules (addons): Fix Committed Bug description: trunk, server revno 3411 using demo data * Purchases / Products / Products, take the "Wood 2mm" product with a cost of 5 €/m and assign him a supplier "Wood y Wood Pecker" with a Supplier UoM = km * Create a Purchase Order to Wood y Wood Pecker and select the "Wood 2mm" product. Indicate a quantity of 10.000 Obtained result : it takes 10.000m and multiply the unit cost by 1000 (because of the transformation from m-> km). The total is thus equals to 10.000 x (1000x5€) = 500.000 Expected result : either it replaces the m to km and we purchase 10km OR it takes only the unit cost multiplied by the quantity so that the result is correct : 10.000m x 5€ = 50.000€ OR 10km X 5000€ = 50.000€ reported by dha, OpenERP Prof Serv To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/782149/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

