[FIX] Internal Header/Footer : Now considered for Printing reports
bzr revid: ach@tinyerp.com-20100512135007-0gvdopf7zm1z4cxy
This commit is contained in:
@@ -441,8 +441,7 @@ class report_sxw(report_rml, preprocess.report):
|
||||
rml_parser.set_context(objs, data, ids, report_xml.report_type)
|
||||
processed_rml = etree.XML(rml)
|
||||
if report_xml.header:
|
||||
rml_parser._add_header(processed_rml)
|
||||
processed_rml = self.preprocess_rml(processed_rml,report_xml.report_type)
|
||||
rml_parser._add_header(processed_rml,self.header)
|
||||
if rml_parser.logo:
|
||||
logo = base64.decodestring(rml_parser.logo)
|
||||
create_doc = self.generators[report_xml.report_type]
|
||||
|
||||
Reference in New Issue
Block a user