[16][FIX] account_reconcile_oca : keep aml label when empty on manual write-off reconcile model

This commit is contained in:
Florian da Costa
2024-11-15 13:19:33 +01:00
parent cd09680882
commit 689eb413a7

View File

@@ -507,6 +507,7 @@ class AccountBankStatementLine(models.Model):
"line_currency_id": self.company_id.currency_id.id,
"currency_id": self.company_id.currency_id.id,
"currency_amount": amount,
"name": line.get("name") or self.payment_ref,
}
)
reconcile_auxiliary_id += 1