[FIX] account_voucher: typo
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>
Fri, 3 May 2013 11:57:11 +0000 (13:57 +0200)
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>
Fri, 3 May 2013 11:57:11 +0000 (13:57 +0200)
bzr revid: qdp-launchpad@openerp.com-20130503115711-bm693r6yjjsvspz5

addons/account_voucher/account_voucher.py

index 6c271d6..28ed197 100644 (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