fix final failing test
This commit is contained in:
parent
82de375ba0
commit
d7d306bfdb
@ -777,7 +777,7 @@ def get_payment_entry(dt, dn, party_amount=None, bank_account=None, bank_amount=
|
||||
'due_date': reference.due_date,
|
||||
'total_amount': reference.invoice_amount,
|
||||
'outstanding_amount': reference.outstanding_amount,
|
||||
'allocated_amount': reference.outstanding_amount
|
||||
'allocated_amount': allocated_amount
|
||||
})
|
||||
if paid_amount:
|
||||
paid_amount -= allocated_amount
|
||||
|
Loading…
x
Reference in New Issue
Block a user