summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent de Labarre <florent.mirieu@gmail.com>2019-02-05 13:24:00 +0000
committerNicolas Martinelli <nim@odoo.com>2019-02-08 13:33:03 +0000
commitd260c53d12180bf3c2f4f06cf4cdcfb554fd4ba5 (patch)
treee32963742ee508faeec84f36344a13933e8df751
parentd9f9d32f4e7d2408ee6245238a82b24e1fac864f (diff)
[FIX] l10n_fr_fec: wrong formatting
The exported CSV contains unexpected `b` characters. opw-1937282 closes odoo/odoo#30838
-rw-r--r--addons/l10n_fr_fec/wizard/account_fr_fec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/l10n_fr_fec/wizard/account_fr_fec.py b/addons/l10n_fr_fec/wizard/account_fr_fec.py
index bd8e4cc44c0..032baf2d971 100644
--- a/addons/l10n_fr_fec/wizard/account_fr_fec.py
+++ b/addons/l10n_fr_fec/wizard/account_fr_fec.py
@@ -265,7 +265,7 @@ class AccountFrFec(models.TransientModel):
for row in self._cr.fetchall():
listrow = list(row)
account_id = listrow.pop()
- w.writerow([s.encode("utf-8") for s in listrow])
+ w.writerow(listrow)
# LINES
sql_query = '''