From 60ea76e4c5b620b53177fa4404b9c3bd90ce2b9c Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Thu, 29 Jan 2009 23:22:23 +0100 Subject: [IMP] Integrate the headers from the old custom module bzr revid: stephane@tinyerp.com-20090129222223-ac7pa5yrq1xohbu4 --- bin/report/interface.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin/report/interface.py') diff --git a/bin/report/interface.py b/bin/report/interface.py index e872cc77fd3..bb71f201a8d 100644 --- a/bin/report/interface.py +++ b/bin/report/interface.py @@ -20,7 +20,8 @@ # ############################################################################## -import os,re +import os +import re #Ged> Why do we use libxml2 here instead of xml.dom like in other places of the code? import libxml2 @@ -120,7 +121,7 @@ class report_rml(report_int): pos_xml = i.end() doc = print_xml.document(cr, uid, {}, {}) - tmpl_path = addons.get_module_resource('custom', 'corporate_defaults.xml') + tmpl_path = addons.get_module_resource('base', 'report', 'corporate_defaults.xml') doc.parse(tmpl_path, [uid], 'res.users', context) corporate_header = doc.xml_get() doc.close() -- cgit v1.2.3