[Erp5-report] r33843 nicolas.dumazet - /erp5/trunk/products/ERP5/Document/Transformation.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Mar 18 10:37:38 CET 2010
Author: nicolas.dumazet
Date: Thu Mar 18 10:37:37 2010
New Revision: 33843
URL: http://svn.erp5.org?rev=33843&view=rev
Log:
This is now done in erp5_pdm.transformation_interaction_workflow
Modified:
erp5/trunk/products/ERP5/Document/Transformation.py
Modified: erp5/trunk/products/ERP5/Document/Transformation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Transformation.py?rev=33843&r1=33842&r2=33843&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Transformation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Transformation.py [utf8] Thu Mar 18 10:37:37 2010
@@ -161,22 +161,6 @@
result = self.portal_categories.getCategoryChildTitleItemList(
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')
More information about the Erp5-report
mailing list