From 18f30b3319b402e9c7c65be547dec317e9521027 Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Thu, 26 May 2005 10:51:45 +0000 Subject: [PATCH] make sure that in getPrice we do not get the price of a line if there is cells git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3089 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Resource.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/product/ERP5/Document/Resource.py b/product/ERP5/Document/Resource.py index 9549881710..50f4c555b6 100755 --- a/product/ERP5/Document/Resource.py +++ b/product/ERP5/Document/Resource.py @@ -515,7 +515,9 @@ class Resource(XMLMatrix, CoreResource, Variated): domain_tool = getToolByName(self,'portal_domains') portal_type_list = self.getPortalSupplyTypeList() - mapped_value = domain_tool.generateMappedValue(tmp_context,portal_type=portal_type_list,**kw) + mapped_value = domain_tool.generateMappedValue(tmp_context, + portal_type=portal_type_list, + has_cell_content=0,**kw) if mapped_value is not None: base_price = mapped_value.getBasePrice() -- 2.30.9