odoo/patches/report_header.patch

11 lines
568 B
Diff

--- ext/odoo/openerp/report/report_sxw.py 2015-04-15 12:18:30.132784074 +0200
+++ ext/odoo/openerp/report/report_sxw.py 2015-04-15 11:48:21.743518606 +0200
@@ -476,6 +476,8 @@
processed_rml = etree.XML(rml)
if report_xml.use_global_header:
rml_parser._add_header(processed_rml, self.header)
+ else:
+ rml_parser._add_header(processed_rml, 'internal')
processed_rml = self.preprocess_rml(processed_rml,report_xml.report_type)
if rml_parser.logo:
logo = base64.decodestring(rml_parser.logo)