Merge pull request #3202 from expsa/dev_odex25_accounting

Dev odex25 accounting
This commit is contained in:
kchyounes19 2025-05-15 14:25:25 +01:00 committed by GitHub
commit 0ef6ad2b87
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