diff options
| author | Stephane Wirtel <stephane@tinyerp.com> | 2009-01-29 23:22:23 +0100 |
|---|---|---|
| committer | Stephane Wirtel <stephane@tinyerp.com> | 2009-01-29 23:22:23 +0100 |
| commit | 60ea76e4c5b620b53177fa4404b9c3bd90ce2b9c (patch) | |
| tree | cd2ca1cfc2ec01ce77f05cd406274c53f5febb7e /bin/report/interface.py | |
| parent | dba3cbd053d02bed000d829444682dc79563d008 (diff) | |
[IMP] Integrate the headers from the old custom module
bzr revid: stephane@tinyerp.com-20090129222223-ac7pa5yrq1xohbu4
Diffstat (limited to 'bin/report/interface.py')
| -rw-r--r-- | bin/report/interface.py | 5 |
1 files changed, 3 insertions, 2 deletions
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() |
