[FIX] res_currency typo

bzr revid: al@openerp.com-20110713153210-2ly0gdtgecx4b4vy
This commit is contained in:
Antony Lesuisse
2011-07-13 17:32:10 +02:00
parent 75afa6425b
commit 8ce2afec39
+1 -1
View File
@@ -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)