summaryrefslogtreecommitdiff
path: root/bin/report/interface.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/report/interface.py')
-rw-r--r--bin/report/interface.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/report/interface.py b/bin/report/interface.py
index 74f952128d5..d11d5a7a21e 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
@@ -121,7 +122,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()