diff --git a/odoo/addons/base/res/res_currency.py b/odoo/addons/base/res/res_currency.py index db96c60a9b4..5c91e55b3f0 100644 --- a/odoo/addons/base/res/res_currency.py +++ b/odoo/addons/base/res/res_currency.py @@ -169,7 +169,7 @@ class Currency(models.Model): function = "" for currency in self.search([]): symbol = currency.symbol or currency.name - format_number_str = "odoo.web.format_value(arguments[0], {type: 'float', digits: [69,%s]}, 0.00)" % currency.decimal_places + format_number_str = "openerp.web.format_value(arguments[0], {type: 'float', digits: [69,%s]}, 0.00)" % currency.decimal_places if currency.position == 'after': return_str = "return %s + '\\xA0' + %s;" % (format_number_str, json.dumps(symbol)) else: