Commit ba45ec85 authored by Jérome Perrin's avatar Jérome Perrin

restore 0 as default value for omit_individual_variation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28870 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 998b54ae
...@@ -234,6 +234,7 @@ class Amount(Base, Variated): ...@@ -234,6 +234,7 @@ class Amount(Base, Variated):
resource = self.getResourceValue() resource = self.getResourceValue()
if resource is None: if resource is None:
return [] return []
kw['omit_individual_variation'] = 0
return resource.getVariationCategoryItemList(*args, **kw) return resource.getVariationCategoryItemList(*args, **kw)
security.declareProtected(Permissions.AccessContentsInformation, \ security.declareProtected(Permissions.AccessContentsInformation, \
......
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