Add company name in title of the XLSX report

pull/699/head
Alexis de Lattre 2019-01-15 17:13:03 +01:00
parent 05cc0c53c6
commit 5b87a998bd
1 changed files with 3 additions and 1 deletions

View File

@ -67,7 +67,9 @@ class BankReconciliationXlsx(ReportXlsx):
sheet = workbook.add_worksheet(o.code or o.name)
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)
sheet.set_row(0, 26)
sheet.set_row(1, 25)