Commit fcaf360f authored by Sebastien Robin's avatar Sebastien Robin

the mapped value can not support getPricedQuantity yet


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3106 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 39d361da
...@@ -529,7 +529,7 @@ class Resource(XMLMatrix, CoreResource, Variated): ...@@ -529,7 +529,7 @@ class Resource(XMLMatrix, CoreResource, Variated):
priced_quantity = self.getPricedQuantity() priced_quantity = self.getPricedQuantity()
unit_base_price = base_price / priced_quantity unit_base_price = base_price / priced_quantity
else: else:
priced_quantity = mapped_value.getPricedQuantity() priced_quantity = self.getPricedQuantity()
unit_base_price = base_price / priced_quantity unit_base_price = base_price / priced_quantity
return unit_base_price return unit_base_price
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment