From f5c2af0ce162c418f4807d22b410745b752d83f6 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Tue, 18 Dec 2012 13:09:04 +0100 Subject: [PATCH] [FIX] account.payment: typo in forward-ported code for payment.order report bzr revid: odo@openerp.com-20121218120904-fk5qhvyk9qil5fse --- 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 71312521a9f..ca2315d81b1 100644 --- a/addons/account_payment/report/order.rml +++ b/addons/account_payment/report/order.rml @@ -278,7 +278,7 @@ [[ formatLang(get_amount_total(o), currency_obj=o.company_id.currency_id) or '' ]] - [[ formatLang(get_amount_total_in_currency(o), currency_obj=(o.order_lines and o.order_lines[0].currency or None)) or '' ]] + [[ formatLang(get_amount_total_in_currency(o), currency_obj=(o.line_ids and o.line_ids[0].currency or None)) or '' ]]