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)