diff --git a/product/ERP5/mixin/extensible_traversable.py b/product/ERP5/mixin/extensible_traversable.py index 03cebde1420938a97b3c212332936d3dcf265b8f..cf251fe40cc6cc5c7089e723dd4da7475e80fc67 100644 --- a/product/ERP5/mixin/extensible_traversable.py +++ b/product/ERP5/mixin/extensible_traversable.py @@ -207,7 +207,7 @@ class OOoDocumentExtensibleTraversableMixin(BaseExtensibleTraversableMixin): try: self._convert(format='html') _setCacheHeaders(_ViewEmulator().__of__(self), web_cache_kw) - mime, data = self.getConversion(format=EMBEDDED_FORMAT, file_name=name) + mime, data = self.getConversion(format=EMBEDDED_FORMAT, filename=name) document = OFSFile(name, name, data, content_type=mime).__of__(self.aq_parent) except (NotConvertedError, ConversionError, KeyError): document = DocumentExtensibleTraversableMixin.getExtensibleContent(self, request, name)