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 '' ]]