Commit e203e4f3 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

filename should be specified by filename property, not source_reference.

parent 05f7acad
...@@ -300,8 +300,7 @@ class FormPrintout(Implicit, Persistent, RoleManager, Item, PropertyManager): ...@@ -300,8 +300,7 @@ class FormPrintout(Implicit, Persistent, RoleManager, Item, PropertyManager):
tmp_ooo = newTempOOoDocument(self, self.title_or_id()) tmp_ooo = newTempOOoDocument(self, self.title_or_id())
tmp_ooo.edit(data=printout, tmp_ooo.edit(data=printout,
base_data=printout, base_data=printout,
fname=self.title_or_id(), filename=self.title_or_id(),
source_reference=self.title_or_id(),
content_type=content_type, content_type=content_type,
base_content_type=content_type) base_content_type=content_type)
mime, data = tmp_ooo.convert(format) mime, data = tmp_ooo.convert(format)
......
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