Commit 1c22a3ec authored by Nicolas Dumazet's avatar Nicolas Dumazet

This is now done in erp5_pdm.transformation_interaction_workflow


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33843 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 93159110
......@@ -162,22 +162,6 @@ class Transformation(XMLObject, Predicate, Variated):
base_category_list, base=1, display_none_category=0)
return result
security.declareProtected(Permissions.AccessContentsInformation,
'_setVariationBaseCategoryList')
def _setVariationBaseCategoryList(self, value):
"""
Define the possible base categories
"""
# XXX TransformedResource works only for a maximum of 3 variation base category...
# Matrixbox must be rewrite for a clean implementation of n base category
if len(value) <= 3:
self._baseSetVariationBaseCategoryList(value)
else:
raise MoreThan3VariationBaseCategory
# create relations between resource variation and transformation
self._setVariationCategoryList( self.getVariationRangeCategoryList() )
security.declareProtected(Permissions.AccessContentsInformation,
'setVariationBaseCategoryList')
def setVariationBaseCategoryList(self, value):
......
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