diff options
| author | Cedric Snauwaert <csn@openerp.com> | 2016-09-07 16:30:33 +0200 |
|---|---|---|
| committer | Cedric Snauwaert <csn@openerp.com> | 2016-09-07 16:30:38 +0200 |
| commit | 2e72e4f27f2763a90f85e1b93fbc0a00281db0c9 (patch) | |
| tree | 77f52f5ddeaabe554df749a72a1e97361c3f5816 | |
| parent | d22676dc0752586998a1108e46bfad2d02a87303 (diff) | |
[FIX] res_currency: wrong import that broke reconciliation view
fix error introduce in commit 7596fa3ee3adf7a6c9ba3daeacd22a3d6a8258ad
The get_format_currencies_js_function return javascript code and the openerp.web should not have been replaced by odoo.web. The result is that reconciliation view was broken.
| -rw-r--r-- | odoo/addons/base/res/res_currency.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
