# HG changeset patch # User Houzefa Abbasbhay <houzefa.abba@xcg-consulting.fr> # Date 1657118883 -7200 # Wed Jul 06 16:48:03 2022 +0200 # Branch 11.0 # Node ID ebb56e8345e669ac68879a5caf5c477f700724f7 # Parent f53571b245b9e14a55df43bd5600ede7ae5482d1 Monthly statement: Move transaction date to first col diff --git a/reports/monthly_statement_excel.py b/reports/monthly_statement_excel.py --- a/reports/monthly_statement_excel.py +++ b/reports/monthly_statement_excel.py @@ -174,6 +174,12 @@ # Columns below are based on <account.move.line>. addCol( + header=_("Transaction Date"), + field="transaction_date", + width=30, + type="date", + ) + addCol( header=_("Invoice N°"), computed=lambda line: ( line.invoice_id.number @@ -193,12 +199,6 @@ ) addCol(header=_("Billed Client"), field="partner_id.name", width=30) addCol( - header=_("Transaction Date"), - field="transaction_date", - width=30, - type="date", - ) - addCol( header=_("Due Date"), field="date_maturity", width=30, type="date" ) addCol(