Merge pull request #3201 from expsa/younes_dev_odex25_accounting

fix bug
This commit is contained in:
kchyounes19 2025-05-15 14:24:13 +01:00 committed by GitHub
commit 54dfe0da9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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