Commit c766b2a7 authored by Julien Muchembled's avatar Julien Muchembled

Fix testDomainTool

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@38562 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0ad8be7d
...@@ -53,6 +53,7 @@ class Supply(Path, XMLObject): ...@@ -53,6 +53,7 @@ class Supply(Path, XMLObject):
, PropertySheet.DublinCore , PropertySheet.DublinCore
, PropertySheet.Task , PropertySheet.Task
, PropertySheet.Arrow , PropertySheet.Arrow
, PropertySheet.Price
, PropertySheet.Movement , PropertySheet.Movement
, PropertySheet.Delivery , PropertySheet.Delivery
, PropertySheet.Path , PropertySheet.Path
......
...@@ -358,15 +358,14 @@ class Variated(Base): ...@@ -358,15 +358,14 @@ class Variated(Base):
'getVariationRangeCategoryList') 'getVariationRangeCategoryList')
def getVariationRangeCategoryList(self, base_category_list=(), base=1, def getVariationRangeCategoryList(self, base_category_list=(), base=1,
root=1, current_category=None, root=1, current_category=None,
omit_individual_variation=0): omit_individual_variation=0, **kw):
""" """
Returns the range of acceptable categories Returns the range of acceptable categories
""" """
vrcil = self.getVariationRangeCategoryItemList( vrcil = self.getVariationRangeCategoryItemList(
base_category_list=base_category_list, base_category_list=base_category_list, base=base, root=root,
base=base, root=root,
current_category=current_category, current_category=current_category,
omit_individual_variation=omit_individual_variation) omit_individual_variation=omit_individual_variation, **kw)
# display is on left # display is on left
return [x[1] for x in vrcil] return [x[1] for x in vrcil]
......
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