From 9109c3a91c0bb9a08e18ba90eec4205031ecf329 Mon Sep 17 00:00:00 2001 From: "Hemendra Paregi (Open ERP)" Date: Wed, 21 Dec 2011 15:25:12 +0530 Subject: [PATCH] [IMP] Display Date_Maturity and Amount lp bug: https://launchpad.net/bugs/900751 fixed bzr revid: hpa@tinyerp.com-20111221095512-9i34nndhsx1k5mct --- addons/account/report/account_print_overdue.rml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/report/account_print_overdue.rml b/addons/account/report/account_print_overdue.rml index 25ccad25377..3cc993fb977 100644 --- a/addons/account/report/account_print_overdue.rml +++ b/addons/account/report/account_print_overdue.rml @@ -219,7 +219,7 @@ [[ (line['account_id']['type'] == 'receivable' and formatLang(line['credit']) or 0) or (line['account_id']['type'] == 'payable' and formatLang(line['debit'] * -1) or 0) ]] - [[ formatLang((line['date_maturity'] < time.strftime('%Y-%m-%d'))) and formatLang(line['debit'] - line['credit'], currency_obj=company.currency_id) ] + [[ time.strftime('%Y-%m-%d') > formatLang((line['date_maturity'])) and formatLang(line['debit'] - line['credit']) ]] [[ company.currency_id.symbol ]] [[ line['blocked'] and 'X' or '' ]]