Merge pull request #21650 from anupamvs/payment-order-hotfix

fix: Payment Order not allowing to create Payment Entry
This commit is contained in:
rohitwaghchaure
2020-05-08 10:26:55 +05:30
committed by GitHub

View File

@@ -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
})