[MERGE] forward port branch 10.0 up to 7a519520f2
This commit is contained in:
@@ -70,7 +70,7 @@ def format_amount(env, amount, currency):
|
||||
lang = env['res.lang']._lang_get(env.context.get('lang') or 'en_US')
|
||||
|
||||
formatted_amount = lang.format(fmt, currency.round(amount), grouping=True, monetary=True)\
|
||||
.replace(r' ', u'\N{NO-BREAK SPACE}').replace(r'-', u'\u2011')
|
||||
.replace(r' ', u'\N{NO-BREAK SPACE}').replace(r'-', u'-\N{ZERO WIDTH NO-BREAK SPACE}')
|
||||
|
||||
pre = post = u''
|
||||
if currency.position == 'before':
|
||||
|
||||
Reference in New Issue
Block a user