[FIX]price_multi_get() is comparing pricelist_ids to pricelist_version_ids
lp bug: https://launchpad.net/bugs/693056 fixed bzr revid: ron@tinyerp.com-20101229072945-kj1st3ga52knpfqa
This commit is contained in:
parent
4f69aea255
commit
8198dc0d09
|
@ -223,7 +223,7 @@ class product_pricelist(osv.osv):
|
|||
'AND (min_quantity IS NULL OR min_quantity <= %s) '
|
||||
'AND i.price_version_id = v.id AND v.pricelist_id = pl.id '
|
||||
'ORDER BY sequence',
|
||||
(tmpl_id, product_id, pricelist_id, qty))
|
||||
(tmpl_id, product_id, plversion_ids[0], qty))
|
||||
res1 = cr.dictfetchall()
|
||||
uom_price_already_computed = False
|
||||
for res in res1:
|
||||
|
|
Loading…
Reference in New Issue