[Erp5-report] r35748 nicolas - /erp5/trunk/products/ERP5/mixin/base_convertable.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri May 28 18:06:34 CEST 2010
Author: nicolas
Date: Fri May 28 18:06:31 2010
New Revision: 35748
URL: http://svn.erp5.org?rev=35748&view=rev
Log:
Delete custom WorkflowMethod
Now covertToBaseFormat check if transition is available.
Avoid calling useless workflow transition on TempObject
Modified:
erp5/trunk/products/ERP5/mixin/base_convertable.py
Modified: erp5/trunk/products/ERP5/mixin/base_convertable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/mixin/base_convertable.py?rev=35748&r1=35747&r2=35748&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/mixin/base_convertable.py [utf8] (original)
+++ erp5/trunk/products/ERP5/mixin/base_convertable.py [utf8] Fri May 28 18:06:31 2010
@@ -75,14 +75,6 @@
"""
raise NotImplementedError
- def convertFile(self, **kw):
- """
- Workflow transition invoked when conversion occurs.
- Usefull for document instances which are not associated
- to processing_status_workflow like TempObject.
- """
- convertFile = WorkflowMethod(convertFile)
-
security.declareProtected(Permissions.AccessContentsInformation,
'getBaseData')
def getBaseData(self, default=_MARKER):
More information about the Erp5-report
mailing list