From c2d2e93f077374ceff52543aee552f6f611665f3 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 19 Jul 2016 01:16:12 +0200 Subject: [PATCH] Replace narrow_no_break_space by no_break_space for Mac OS X --- l10n_fr_fix_thousands_sep/res_lang.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/l10n_fr_fix_thousands_sep/res_lang.py b/l10n_fr_fix_thousands_sep/res_lang.py index cc4817d..ab81de4 100644 --- a/l10n_fr_fix_thousands_sep/res_lang.py +++ b/l10n_fr_fix_thousands_sep/res_lang.py @@ -28,10 +28,10 @@ class ResLang(models.Model): @api.v7 def init(self, cr): - narrow_no_break_space = u'\u202f' + no_break_space = u'\u00A0' cr.execute( "UPDATE res_lang SET thousands_sep=%s, grouping='[3,0]' " - "WHERE code='fr_FR'", (narrow_no_break_space, )) + "WHERE code='fr_FR'", (no_break_space, )) cr.execute( "UPDATE res_lang SET grouping='[3,0]' WHERE code='en_US'") return True