From 3176bb40aadf1a0c657fa4a9f91e58c4fa2e6318 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Fri, 28 May 2010 16:06:31 +0000
Subject: [PATCH] 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
---
 product/ERP5/mixin/base_convertable.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/product/ERP5/mixin/base_convertable.py b/product/ERP5/mixin/base_convertable.py
index 3e81f46c99..1a85257745 100644
--- a/product/ERP5/mixin/base_convertable.py
+++ b/product/ERP5/mixin/base_convertable.py
@@ -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):
-- 
2.30.9