diff --git a/product/ERP5/mixin/base_convertable.py b/product/ERP5/mixin/base_convertable.py index 8cbcb20c869c0b33e9c88d1060eeb00954be50a6..225ebc0f9fbb1542a77965919ebf8a633b86a635 100644 --- a/product/ERP5/mixin/base_convertable.py +++ b/product/ERP5/mixin/base_convertable.py @@ -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)