From e203e4f30da9bbd06a0f9265d32a56af4919cbb2 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Wed, 18 May 2011 07:14:29 +0200 Subject: [PATCH] filename should be specified by filename property, not source_reference. --- product/ERP5OOo/FormPrintout.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product/ERP5OOo/FormPrintout.py b/product/ERP5OOo/FormPrintout.py index 64400f5a5d..56c9e0edb4 100644 --- a/product/ERP5OOo/FormPrintout.py +++ b/product/ERP5OOo/FormPrintout.py @@ -300,8 +300,7 @@ class FormPrintout(Implicit, Persistent, RoleManager, Item, PropertyManager): tmp_ooo = newTempOOoDocument(self, self.title_or_id()) tmp_ooo.edit(data=printout, base_data=printout, - fname=self.title_or_id(), - source_reference=self.title_or_id(), + filename=self.title_or_id(), content_type=content_type, base_content_type=content_type) mime, data = tmp_ooo.convert(format) -- 2.30.9