Browse Source

W0622(redefined-builtin)

pull/29/head
Guewen Baconnier 10 years ago
parent
commit
0718a96cee
  1. 4
      account_financial_report_webkit/report/webkit_parser_header_fix.py

4
account_financial_report_webkit/report/webkit_parser_header_fix.py

@ -272,7 +272,7 @@ class HeaderFooterTextWebKitParser(webkit_report.WebKitParser):
_logger.error(msg) _logger.error(msg)
raise except_osv(_('Webkit render'), msg) raise except_osv(_('Webkit render'), msg)
return (deb, 'html') return (deb, 'html')
bin = self.get_lib(cursor, uid)
pdf = self.generate_pdf(bin, report_xml, head, foot, htmls,
binary = self.get_lib(cursor, uid)
pdf = self.generate_pdf(binary, report_xml, head, foot, htmls,
parser_instance=parser_instance) parser_instance=parser_instance)
return (pdf, 'pdf') return (pdf, 'pdf')
Loading…
Cancel
Save