Commit 4c4ff30b authored by Sebastien Robin's avatar Sebastien Robin

acquisition does not work on all zope yet, we should set p_variation on the resource


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3261 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8462bab6
...@@ -326,7 +326,8 @@ class Test(ERP5TypeTestCase): ...@@ -326,7 +326,8 @@ class Test(ERP5TypeTestCase):
#self.supply_line.setMultimembershipCriterionBaseCategoryList(['resource']) # Do we need to add 'variation' ??? #self.supply_line.setMultimembershipCriterionBaseCategoryList(['resource']) # Do we need to add 'variation' ???
self.supply_line.setMappedValuePropertyList(['base_price','priced_quantity']) self.supply_line.setMappedValuePropertyList(['base_price','priced_quantity'])
#self.supply_line.setMembershipCriterionCategoryList(['resource/%s' % self.resource.getRelativeUrl()]) #self.supply_line.setMembershipCriterionCategoryList(['resource/%s' % self.resource.getRelativeUrl()])
self.supply_line.setPVariationBaseCategoryList(['variation']) #self.supply_line.setPVariationBaseCategoryList(['variation'])
self.resource.setPVariationBaseCategoryList(['variation'])
self.supply_line.updateCellRange(base_id='path') self.supply_line.updateCellRange(base_id='path')
cell_range = self.supply_line.SupplyLine_asCellRange() cell_range = self.supply_line.SupplyLine_asCellRange()
for range in cell_range[0]: for range in cell_range[0]:
......
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