[IMP] improved the code

bzr revid: bde@tinyerp.com-20131202085930-zinqv4q332iuqql0
This commit is contained in:
Bharat R. Devnani (OpenERP) 2013-12-02 14:29:30 +05:30
parent ead4272652
commit 953c8d7633
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class res_currency(osv.osv):
elif not raise_on_no_rate:
res[id] = 0
else:
raise osv.except_osv(_('Error!'),_("No currency rate associated for currency %s for the given period" % (currency_name)))
raise osv.except_osv(_('Error!'),_("No currency rate associated for currency '%s' for the given period" % (currency_name)))
return res
_name = "res.currency"