Commit 863825c0 authored by Ivan Tyagov's avatar Ivan Tyagov

Do not just find 'finishIngestion' script but also call it.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14246 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 66750076
...@@ -1012,8 +1012,8 @@ class Document(XMLObject, UrlMixIn, ConversionCacheMixin, SnapshotMixin): ...@@ -1012,8 +1012,8 @@ class Document(XMLObject, UrlMixIn, ConversionCacheMixin, SnapshotMixin):
script can for example allocate a reference number automatically if script can for example allocate a reference number automatically if
no reference was defined. no reference was defined.
""" """
return self._getTypeBasedMethod('finishIngestion', method = self._getTypeBasedMethod('finishIngestion', fallback_script_id='Document_finishIngestion')
fallback_script_id='Document_finishIngestion') return method()
# Conversion methods # Conversion methods
security.declareProtected(Permissions.ModifyPortalContent, 'convert') security.declareProtected(Permissions.ModifyPortalContent, 'convert')
......
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