From e2e851dd07c59959e5b390f81bf23a1b4e8687e1 Mon Sep 17 00:00:00 2001 From: Cedric Snauwaert Date: Tue, 9 Apr 2013 15:51:07 +0200 Subject: [PATCH] [FIX]account_payment_report: formatlang expect float value not string bzr revid: csn@openerp.com-20130409135107-y59zf6x2p85yvgva --- addons/account_payment/report/order.rml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_payment/report/order.rml b/addons/account_payment/report/order.rml index ca2315d81b1..6c515f2b287 100644 --- a/addons/account_payment/report/order.rml +++ b/addons/account_payment/report/order.rml @@ -256,7 +256,7 @@ [[line.date=='False' and '-' or formatLang(line.date,date=True) ]] - [[ formatLang(line.amount or '-', currency_obj=line.company_currency) ]] + [[ formatLang(line.amount or 0.0, currency_obj=line.company_currency) ]] [[ formatLang(line.amount_currency, currency_obj=line.currency) ]]