Commit cb91fb1b authored by Romain Courteaud's avatar Romain Courteaud

generateMappedValue generate SupplyCell instead of DelveryCell (which does not

have for exemple base_price property).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4292 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7ad87e8a
...@@ -190,8 +190,8 @@ class DomainTool(BaseTool): ...@@ -190,8 +190,8 @@ class DomainTool(BaseTool):
mapped_value = None mapped_value = None
else: else:
# Generate tempDeliveryCell # Generate tempDeliveryCell
from Products.ERP5Type.Document import newTempDeliveryCell from Products.ERP5Type.Document import newTempSupplyCell
mapped_value = newTempDeliveryCell(self.getPortalObject(), mapped_value = newTempSupplyCell(self.getPortalObject(),
'new_mapped_value') 'new_mapped_value')
mapped_value_property_dict = {} mapped_value_property_dict = {}
# Look for each property the first predicate which defines the # Look for each property the first predicate which defines the
......
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