From 8ce2afec3928e240308a662e4187ad849c60fe2e Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Wed, 13 Jul 2011 17:32:10 +0200 Subject: [PATCH] [FIX] res_currency typo bzr revid: al@openerp.com-20110713153210-2ly0gdtgecx4b4vy --- bin/addons/base/res/res_currency.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/addons/base/res/res_currency.py b/bin/addons/base/res/res_currency.py index 2565d471cd3..64b31edb102 100644 --- a/bin/addons/base/res/res_currency.py +++ b/bin/addons/base/res/res_currency.py @@ -124,7 +124,7 @@ class res_currency(osv.osv): return (from_amount * rate) def name_search(self, cr, uid, name, args=[], operator='ilike', context={}, limit=100): - args2 = args[:] + args = args[:] if name: args += [('name', operator, name)] ids = self.search(cr, uid, args, limit=limit)