← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 782149] Re: [PS] Wrong calculated price in a PO when the Supplier UoM is different than the Purchase UoM

 

** Changed in: openobject-addons
       Status: Incomplete => Confirmed

-- 
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):
  Confirmed

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


References