Commit 682a3f93 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

now filename should be handled by filename property, not source_reference.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41484 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 149c2a4a
......@@ -163,6 +163,7 @@ class OOoDocument(OOoDocumentExtensibleTraversableMixin, BaseConvertableFileMixi
, PropertySheet.DublinCore
, PropertySheet.Version
, PropertySheet.Document
, PropertySheet.Data
, PropertySheet.ExternalDocument
, PropertySheet.Url
, PropertySheet.Periodicity
......
......@@ -585,7 +585,7 @@ class OOoTemplate(ZopePageTemplate):
from Products.ERP5Type.Document import newTempOOoDocument
tmp_ooo = newTempOOoDocument(self, self.title_or_id())
tmp_ooo.edit(data=ooo,
source_reference=filename,
filename=filename,
content_type=self.content_type,)
format = opts.get('format', request.get('format', None))
......
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