[FIX] account_voucher: typo
bzr revid: qdp-launchpad@openerp.com-20130503115711-bm693r6yjjsvspz5
This commit is contained in:
parent
709fc0ca29
commit
e02c15ed61
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue