Merge pull request #21793 from deepeshgarg007/general_ledger_against_voucher

fix: Against voucher in General Ledger
This commit is contained in:
rohitwaghchaure 2020-05-20 10:30:11 +05:30 committed by GitHub
commit bd4629568d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -296,7 +296,7 @@ def get_accountwise_gle(filters, gl_entries, gle_map):
data[key].debit_in_account_currency += flt(gle.debit_in_account_currency)
data[key].credit_in_account_currency += flt(gle.credit_in_account_currency)
if data[key].against_voucher:
if data[key].against_voucher and gle.against_voucher:
data[key].against_voucher += ', ' + gle.against_voucher
from_date, to_date = getdate(filters.from_date), getdate(filters.to_date)