From fcaf360f199f61c79487cf45b4bcdf84f5980fef Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Fri, 27 May 2005 12:45:56 +0000 Subject: [PATCH] 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 --- product/ERP5/Document/Resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Document/Resource.py b/product/ERP5/Document/Resource.py index 2b10871717..d85a904785 100755 --- a/product/ERP5/Document/Resource.py +++ b/product/ERP5/Document/Resource.py @@ -529,7 +529,7 @@ class Resource(XMLMatrix, CoreResource, Variated): priced_quantity = self.getPricedQuantity() unit_base_price = base_price / priced_quantity else: - priced_quantity = mapped_value.getPricedQuantity() + priced_quantity = self.getPricedQuantity() unit_base_price = base_price / priced_quantity return unit_base_price -- 2.30.9