Commit 236a8df9 authored by Aurel's avatar Aurel

fix call of pt_render


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10937 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 32a01a9f
......@@ -484,7 +484,7 @@ xmlns:config="http://openoffice.org/2001/config" office:version="1.0">
extra_context['options'] = kw
extra_context['batch_mode'] = 1
# first get ooo data
ooo = self.pt_render(self, extra_context=extra_context)
ooo = self.pt_render(extra_context=extra_context)
# now create a temp OOoDocument to convert data to pdf
from Products.ERP5Type.Document import newTempOOoDocument
tmp_ooo = newTempOOoDocument(self, self.title_or_id())
......
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