From 48a4938d24c9e3d73d9407d9ac984980b957d8c7 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Tue, 8 Dec 2009 18:37:24 +0100 Subject: [PATCH] [FIX] custom report xml creation bzr revid: chs@tinyerp.com-20091208173724-cc749thka4ll4k5o --- bin/report/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/report/custom.py b/bin/report/custom.py index bb1b32c..cea5b91 100644 --- a/bin/report/custom.py +++ b/bin/report/custom.py @@ -291,7 +291,7 @@ class report_custom(report_int): def _append_node(name, text): n = etree.SubElement(config, name) - t.text = text + n.text = text _append_node('date', time.strftime('%d/%m/%Y')) _append_node('PageFormat', '%s' % report['print_format']) -- 1.7.10.4