diff --git a/account_partner_aged_statement_webkit/report/partner_aged_statement.mako b/account_partner_aged_statement_webkit/report/partner_aged_statement.mako index 2773db52..b8f40c37 100644 --- a/account_partner_aged_statement_webkit/report/partner_aged_statement.mako +++ b/account_partner_aged_statement_webkit/report/partner_aged_statement.mako @@ -93,13 +93,13 @@ %for line in getLines30(partner): ${ formatLang(line.date, date=True) } - ${ line.name } + ${ line.move_id.name } ${ line.ref } ${ line.date_maturity and formatLang(line.date_maturity,date=True) or '' } - ${ formatLang(line.debit) or 0 } - ${ formatLang(line.credit) or 0 } - ${ formatLang(line.debit - line.credit, currency_obj = company.currency_id) } - ${ line.amount_currency and formatLang(line.amount_currency, currency_obj = line.currency_id) or '' } + ${ formatLang(line.debit) or 0.0 } + ${ formatLang(line.credit) or 0.0 } + ${ formatLang(line.debit - line.credit, currency_obj = company.currency_id) } + ${ line.amount_currency and formatLang(line.amount_currency, currency_obj = line.currency_id) or '' } %endfor ## for line in getLines30(partner) @@ -121,13 +121,13 @@ %for line in getLines3060(partner): ${ formatLang(line.date, date=True) } - ${ line.name } + ${ line.move_id.name } ${ line.ref } ${ line.date_maturity and formatLang(line.date_maturity,date=True) or '' } - ${ formatLang(line.debit) or 0 } - ${ formatLang(line.credit) or 0 } - ${ formatLang(line.debit - line.credit, currency_obj = company.currency_id) } - ${ line.amount_currency and formatLang(line.amount_currency, currency_obj = line.currency_id) or '' } + ${ formatLang(line.debit) or 0 } + ${ formatLang(line.credit) or 0 } + ${ formatLang(line.debit - line.credit, currency_obj = company.currency_id) } + ${ line.amount_currency and formatLang(line.amount_currency, currency_obj = line.currency_id) or '' } %endfor ## for line in getLines3060(partner) @@ -149,13 +149,13 @@ %for line in getLines60(partner): ${ formatLang(line.date, date=True) } - ${ line.name } + ${ line.move_id.name } ${ line.ref } ${ line.date_maturity and formatLang(line.date_maturity,date=True) or '' } - ${ formatLang(line.debit) or 0 } - ${ formatLang(line.credit) or 0 } - ${ formatLang(line.debit - line.credit, currency_obj = company.currency_id) } - ${ line.amount_currency and formatLang(line.amount_currency, currency_obj = line.currency_id) or '' } + ${ formatLang(line.debit) or 0 } + ${ formatLang(line.credit) or 0 } + ${ formatLang(line.debit - line.credit, currency_obj = company.currency_id) } + ${ line.amount_currency and formatLang(line.amount_currency, currency_obj = line.currency_id) or '' } %endfor ## for line in getLines60(partner)