Payment Order not allowing to create Payment Entry
This commit is contained in:
parent
5e3d8050aa
commit
8b52697723
@ -80,7 +80,7 @@ def make_journal_entry(doc, supplier, mode_of_payment=None):
|
||||
paid_amt += d.amount
|
||||
|
||||
je.append('accounts', {
|
||||
'account': doc.references[0].account,
|
||||
'account': doc.account,
|
||||
'credit_in_account_currency': paid_amt
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user