Commit 6d1dbe45 authored by Nicolas Delaby's avatar Nicolas Delaby

Resurect convertFile definition explicitely.

Because some TempObject instances are not associated 
to processing_status_workflow.

temp_object.getPortalType() == 'OOo Document'



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35297 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f2b9626f
......@@ -59,3 +59,11 @@ class BaseConvertableMixin:
"""
"""
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)
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