[MERGE] report: make the report 'header' flag effective
bzr revid: odo@openerp.com-20110113135813-g31b7x1tb6297okn
This commit is contained in:
commit
8634d6057a
|
@ -412,7 +412,8 @@ class report_sxw(report_rml, preprocess.report):
|
|||
report_xml = a(title=title, report_type=report_type, report_rml_content=rml, name=title, attachment=False, header=self.header)
|
||||
finally:
|
||||
report_file.close()
|
||||
report_xml.header = self.header
|
||||
if report_xml.header:
|
||||
report_xml.header = self.header
|
||||
report_type = report_xml.report_type
|
||||
if report_type in ['sxw','odt']:
|
||||
fnct = self.create_source_odt
|
||||
|
|
Loading…
Reference in New Issue