From 15fe85f663e578410cd76fa34f94571cce3074e3 Mon Sep 17 00:00:00 2001 From: ced <> Date: Fri, 22 Dec 2006 13:24:50 +0000 Subject: [PATCH] fix typo bzr revid: ced-de78d0e8e44797436ff407be5cb57b88b6a574b8 --- addons/account/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/invoice.py b/addons/account/invoice.py index fcf2f6e98f9..553f145291a 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -65,7 +65,7 @@ class account_invoice(osv.osv): user = pooler.get_pool(cr.dbname).get('res.users').browse(cr, uid, [uid])[0] if user.company: return user.company_id.currency_id.id - else + else: return pooler.get_pool(cr.dbname).get('res.currency').search(cr, uid, [('rate','=',1.0)])[0] def _get_journal_analytic(self, cr, uid, type_inv, context={}):