Commit 7d204aca authored by Sebastien Robin's avatar Sebastien Robin

forget to define the variable base_price


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3094 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1aca0395
...@@ -518,6 +518,7 @@ class Resource(XMLMatrix, CoreResource, Variated): ...@@ -518,6 +518,7 @@ class Resource(XMLMatrix, CoreResource, Variated):
mapped_value = domain_tool.generateMappedValue(tmp_context, mapped_value = domain_tool.generateMappedValue(tmp_context,
portal_type=portal_type_list, portal_type=portal_type_list,
has_cell_content=0,**kw) has_cell_content=0,**kw)
base_price = None
if mapped_value is not None: if mapped_value is not None:
base_price = mapped_value.getBasePrice() base_price = mapped_value.getBasePrice()
......
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