This commit is contained in:
younes 2025-05-15 14:23:03 +01:00
parent 697292c37e
commit 96131be475
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class AccountPaymentRegister(models.TransientModel):
payment.date,
partner_or_name=payment.invoice_purpose or payment.partner_id,
)
if line.account_id.id in [payment.outstanding_account_id.id, payment.destination_account_id.id]:
if line.account_id.id in [payment.destination_account_id.id]:
line.name = liquidity_line_name or default_line_name
return payments