[FIX] account: typo in 45485fe

My bad, blame the heat
This commit is contained in:
Martin Trigaux 2015-02-10 14:11:08 +05:30
parent 45485fe1d6
commit 3c3f54549a
1 changed files with 1 additions and 1 deletions

View File

@ -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