← Back to team overview

openerp-india team mailing list archive

[Bug 1188629] Re: [6.1][7.0][trunk] price_surcharge must be affiliated with product uom

 

** Also affects: ocb-addons
   Importance: Undecided
       Status: New

** Changed in: ocb-addons
     Assignee: (unassigned) => Yann Papouin (yann-papouin)

** Changed in: ocb-addons
   Importance: Undecided => Low

** Changed in: ocb-addons
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1188629

Title:
  [6.1][7.0][trunk] price_surcharge must be affiliated with product uom

Status in OpenERP Community Backports (Addons):
  Fix Committed
Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  The price_surcharge is not linked to product uom. It's a mistake or a
  design choice ?

  eg: ProductA with an UOM = PCE with a price of 10.0
  If in the pricelist, you defines a surcharge of 2.0

  When the price is computed you will have:
  ProductA with Quantity 1.0 x PCE = 10.0 + 2.0 = 12.0
  ProductA with Quantity 1.0 x 10PCE = 100.0 + 2.0 = 102.0
  ProductA with Quantity 1.0 x 50PCE = 500.0 + 2.0 = 502.0

  That's not correct, you should have:
  ProductA with Quantity 1.0 x PCE = 10.0 + 2.0 = 12.0
  ProductA with Quantity 1.0 x 10PCE = 100.0 + 20.0 = 120.0
  ProductA with Quantity 1.0 x 50PCE = 500.0 + 100.0 = 600.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ocb-addons/+bug/1188629/+subscriptions