|
@@ -174,13 +174,13 @@ class HledgerBankEntry(HledgerEntry):
|
|
s_nom = e.url_company.societe.nom
|
|
s_nom = e.url_company.societe.nom
|
|
|
|
|
|
if e.url_payment_supplier:
|
|
if e.url_payment_supplier:
|
|
- f_ids = [f.facture.ref_supplier for f in e.url_payment_supplier.payment_supplier.factures]
|
|
|
|
|
|
+ f_ids = sorted([f.facture.ref_supplier for f in e.url_payment_supplier.payment_supplier.factures])
|
|
s_description = "Règlement facture fournisseur - %s - %s" % (
|
|
s_description = "Règlement facture fournisseur - %s - %s" % (
|
|
s_nom,
|
|
s_nom,
|
|
"|".join(f_ids),
|
|
"|".join(f_ids),
|
|
)
|
|
)
|
|
if e.url_payment:
|
|
if e.url_payment:
|
|
- f_ids = [f.facture.facnumber for f in e.url_payment.payment.factures]
|
|
|
|
|
|
+ f_ids = sorted([f.facture.facnumber for f in e.url_payment.payment.factures])
|
|
s_description = "Règlement facture client - %s - %s" % (
|
|
s_description = "Règlement facture client - %s - %s" % (
|
|
s_nom,
|
|
s_nom,
|
|
"|".join(f_ids),
|
|
"|".join(f_ids),
|