Commit c15425ff authored by Sebastien Robin's avatar Sebastien Robin

get price only on supply and supply cells


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3014 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c466e996
......@@ -514,7 +514,8 @@ class Resource(XMLMatrix, CoreResource, Variated):
tmp_context = self.asContext(context=context, REQUEST=REQUEST, **kw)
domain_tool = getToolByName(self,'portal_domains')
mapped_value = domain_tool.generateMappedValue(tmp_context,**kw)
portal_type_list = self.getPortalSupplyTypeList()
mapped_value = domain_tool.generateMappedValue(tmp_context,portal_type=portal_type_list,**kw)
base_price = mapped_value.getBasePrice()
unit_base_price = None
......
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