diff --git a/product/ERP5/Tool/ContributionTool.py b/product/ERP5/Tool/ContributionTool.py index d703e3e9439042cd2db1137fd66dba73dd3d0d5a..9f85ed0128df2efc377bff18b75ded94d0ccc435 100644 --- a/product/ERP5/Tool/ContributionTool.py +++ b/product/ERP5/Tool/ContributionTool.py @@ -243,11 +243,6 @@ class ContributionTool(BaseTool): ) object_id = document.getId() document = self._getOb(object_id) # Call _getOb to purge cache - rewrite_method = document._getTypeBasedMethod('rewriteIngestionData') - if rewrite_method is not None: - modified_kw = rewrite_method(**kw.copy()) - if modified_kw is not None: - kw.update(modified_kw) kw['filename'] = filename # Override filename property # Then edit the document contents (so that upload can happen)