[Erp5-report] r14246 - /erp5/trunk/products/ERP5/Document/Document.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Apr 26 17:45:51 CEST 2007


Author: ivan
Date: Thu Apr 26 17:45:44 2007
New Revision: 14246

URL: http://svn.erp5.org?rev=14246&view=rev
Log:
Do not just find 'finishIngestion' script but also call it.

Modified:
    erp5/trunk/products/ERP5/Document/Document.py

Modified: erp5/trunk/products/ERP5/Document/Document.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Document.py?rev=14246&r1=14245&r2=14246&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Document.py (original)
+++ erp5/trunk/products/ERP5/Document/Document.py Thu Apr 26 17:45:44 2007
@@ -1012,8 +1012,8 @@
       script can for example allocate a reference number automatically if
       no reference was defined.
     """
-    return self._getTypeBasedMethod('finishIngestion',
-        fallback_script_id='Document_finishIngestion')
+    method = self._getTypeBasedMethod('finishIngestion', fallback_script_id='Document_finishIngestion')
+    return method()
 
   # Conversion methods
   security.declareProtected(Permissions.ModifyPortalContent, 'convert')




More information about the Erp5-report mailing list