Browse Source

Add company name in title of the XLSX report

pull/322/head
Alexis de Lattre 6 years ago
parent
commit
653c1bf7bb
  1. 4
      account_bank_reconciliation_summary_xlsx/report/bank_reconciliation_xlsx.py

4
account_bank_reconciliation_summary_xlsx/report/bank_reconciliation_xlsx.py

@ -67,7 +67,9 @@ class BankReconciliationXlsx(ReportXlsx):
sheet = workbook.add_worksheet(o.code or o.name) sheet = workbook.add_worksheet(o.code or o.name)
sheet.write( sheet.write(
0, 0, _('%s - Bank Reconciliation') % o.display_name,
0, 0,
_('%s - %s - Bank Reconciliation') % (
o.company_id.name, o.display_name),
doc_title) doc_title)
sheet.set_row(0, 26) sheet.set_row(0, 26)
sheet.set_row(1, 25) sheet.set_row(1, 25)

Loading…
Cancel
Save