fix bug
This commit is contained in:
parent
697292c37e
commit
96131be475
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue