set_solde passe un commentaire unicode à .solde dans ldap_crans
This commit is contained in:
parent
31f21003e7
commit
13555c735d
1 changed files with 1 additions and 1 deletions
|
@ -1087,7 +1087,7 @@ def set_solde(clas):
|
||||||
comment = None
|
comment = None
|
||||||
|
|
||||||
f = Facture(clas)
|
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())
|
f.modePaiement(_mode.lower())
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue