Commit 3176bb40 authored by Nicolas Delaby's avatar Nicolas Delaby

Delete custom WorkflowMethod

Now covertToBaseFormat check if transition is available.
Avoid calling useless workflow transition on TempObject


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35748 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 36a80afa
......@@ -75,14 +75,6 @@ class BaseConvertableFileMixin:
"""
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):
......
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