[FIX]product_visible_discount: uom factor computation
Conversion error. opw:671367
This commit is contained in:
committed by
Goffin Simon
parent
51641d2634
commit
07dd720cf6
@@ -44,7 +44,7 @@ class sale_order_line(osv.osv):
|
||||
|
||||
if uom and uom != product.uom_id.id:
|
||||
# the unit price is in a different uom
|
||||
uom_factor = self.pool['product.uom']._compute_price(cr, uid, uom, 1.0, product.uom_id.id)
|
||||
uom_factor = self.pool['product.uom']._compute_price(cr, uid, product.uom_id.id, 1.0, uom)
|
||||
else:
|
||||
uom_factor = 1.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user