[FIX] account_voucher: typo

bzr revid: qdp-launchpad@openerp.com-20130503115711-bm693r6yjjsvspz5
This commit is contained in:
Quentin (OpenERP) 2013-05-03 13:57:11 +02:00
parent 709fc0ca29
commit e02c15ed61
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class res_currency(osv.osv):
def _current_rate(self, cr, uid, ids, name, arg, context=None):
if context is None:
context = {}
res = super(res_currency, self)._get_current_rate(cr, uid, ids, name, arg, context=context)
res = super(res_currency, self)._current_rate(cr, uid, ids, name, arg, context=context)
if context.get('voucher_special_currency') in ids and context.get('voucher_special_currency_rate'):
res[context.get('voucher_special_currency')] = context.get('voucher_special_currency_rate')
return res