From 236a8df9e9a8b73281992c5bb4043aa3033b3066 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Wed, 25 Oct 2006 13:52:09 +0000
Subject: [PATCH] fix call of pt_render

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10937 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5OOo/OOoTemplate.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5OOo/OOoTemplate.py b/product/ERP5OOo/OOoTemplate.py
index ee06af2100..7214cfc36b 100644
--- a/product/ERP5OOo/OOoTemplate.py
+++ b/product/ERP5OOo/OOoTemplate.py
@@ -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())
-- 
2.30.9