Merge pull request #21649 from anupamvs/payment-order-fix

fix: Payment Order not allowing to create Payment Entry
This commit is contained in:
rohitwaghchaure 2020-05-08 10:26:42 +05:30 committed by GitHub
commit b310d6f372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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