From 13555c735d2fa66a91eeae3d8b8c56a5c627d96a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Fri, 25 Sep 2015 00:31:10 +0200 Subject: [PATCH] =?UTF-8?q?set=5Fsolde=20passe=20un=20commentaire=20unicod?= =?UTF-8?q?e=20=C3=A0=20.solde=20dans=20ldap=5Fcrans?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion/gest_crans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index 599d3eec..ef7c2f94 100755 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -1087,7 +1087,7 @@ def set_solde(clas): comment = None f = Facture(clas) - f.ajoute({'nombre': 1, 'code':'SOLDE', 'designation': "Modification du solde par un imprimeur. Moyen de paiement: %s, remarque: %s" % (_mode, comment), 'pu': _montant}) + f.ajoute({'nombre': 1, 'code':'SOLDE', 'designation': "Modification du solde par un imprimeur. Moyen de paiement: %s, remarque: %s" % (_mode, comment.decode(config.in_encoding)), 'pu': _montant}) f.modePaiement(_mode.lower()) try: