diff --git a/product/ERP5/Document/Resource.py b/product/ERP5/Document/Resource.py index c572feb732939dc724ebaf5ccbc9f2d0f4c20674..af97bfdc73e5cc3cee210f290fcbfb1413af5306 100755 --- a/product/ERP5/Document/Resource.py +++ b/product/ERP5/Document/Resource.py @@ -81,7 +81,7 @@ class Resource(XMLMatrix, CoreResource, Variated): def getVariationRangeCategoryItemList(self, base_category_list=(), base=1, root=1, display_id='title', display_base_category=1, - current_category=None): + current_category=None, **kw): """ Returns possible variations @@ -146,7 +146,7 @@ class Resource(XMLMatrix, CoreResource, Variated): if len(other_base_category_list) != 0: result += Variated.getVariationRangeCategoryItemList( self, base_category_list=other_base_category_list, - base=base, display_base_category=display_base_category) + base=base, display_base_category=display_base_category, **kw) # Return result return result @@ -632,4 +632,4 @@ class Resource(XMLMatrix, CoreResource, Variated): i = quantity.find('.') if i < 0: return 0 - return len(quantity[i+1:].rstrip('0')) \ No newline at end of file + return len(quantity[i+1:].rstrip('0')) diff --git a/product/ERP5/Variated.py b/product/ERP5/Variated.py index d82278cfea51d4f643e3565629b725efb4807db1..ce04995df734409c6ec4d01d43935d5b2977e56f 100755 --- a/product/ERP5/Variated.py +++ b/product/ERP5/Variated.py @@ -281,7 +281,7 @@ class Variated(Base): def getVariationRangeCategoryItemList(self, base_category_list=(), base=1, root=1, display_id='title', display_base_category=1, - current_category=None): + current_category=None, **kw): """ Returns possible variations => [(display, value)] @@ -297,7 +297,7 @@ class Variated(Base): getCategoryChildLogicalPathItemList( base=base, display_base_category=display_base_category, - display_none_category=0) + display_none_category=0, **kw) # Return result return result