Fix pool object in compute for issue1798.

This commit is contained in:
Ian Wilson committed 2010-12-29 15:15:59 -08:00
1 parent 998726b12d
commit 1b8ce9166d
1 file changed
+1 -1
+1 -1
View File
@@ -76,7 +76,7 @@ class PriceList(ModelSQL, ModelView):
party = party_obj.browse(party)
if isinstance(product, (int, long)):
product = party_obj.browse(product)
product = product_obj.browse(product)
if isinstance(uom, (int, long)):
uom = uom_obj.browse(uom)