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):
, PropertySheet.DublinCore
, PropertySheet.Task
, PropertySheet.Arrow
, PropertySheet.Price
, PropertySheet.Movement
, PropertySheet.Delivery
, PropertySheet.Path
......
......@@ -358,15 +358,14 @@ class Variated(Base):
'getVariationRangeCategoryList')
def getVariationRangeCategoryList(self, base_category_list=(), base=1,
root=1, current_category=None,
omit_individual_variation=0):
omit_individual_variation=0, **kw):
"""
Returns the range of acceptable categories
"""
vrcil = self.getVariationRangeCategoryItemList(
base_category_list=base_category_list,
base=base, root=root,
current_category=current_category,
omit_individual_variation=omit_individual_variation)
base_category_list=base_category_list, base=base, root=root,
current_category=current_category,
omit_individual_variation=omit_individual_variation, **kw)
# display is on left
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