From 3c3f54549a57f18caa96d1a817cff2d83b37cf81 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Tue, 10 Feb 2015 14:11:08 +0530 Subject: [PATCH] [FIX] account: typo in 45485fe My bad, blame the heat --- addons/account/report/account_invoice_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/report/account_invoice_report.py b/addons/account/report/account_invoice_report.py index f1c029f9ab0..423230ba3b3 100644 --- a/addons/account/report/account_invoice_report.py +++ b/addons/account/report/account_invoice_report.py @@ -42,7 +42,7 @@ class account_invoice_report(osv.osv): cr, uid, [ ('rate', '=', 1), '|', - ('currency_id.company_id', '=', user.company_id.id) + ('currency_id.company_id', '=', user.company_id.id), ('currency_id.company_id', '=', False) ], limit=1, context=context)[0] base_currency_id = currency_rate_obj.browse(cr, uid, currency_rate_id, context=context).currency_id.id