chore: Translate Voucher Type in General Ledger Report (#36874)

chore: Translate Voucher Type in  General Ledger Report
This commit is contained in:
Abdo 2023-09-13 18:08:45 +03:00 committed by GitHub
parent 96363dbb07
commit 6f4f5be990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -434,6 +434,7 @@ def get_accountwise_gle(filters, accounting_dimensions, gl_entries, gle_map):
for gle in gl_entries:
group_by_value = gle.get(group_by)
gle.voucher_type = _(gle.voucher_type)
if gle.posting_date < from_date or (cstr(gle.is_opening) == "Yes" and not show_opening_entries):
if not group_by_voucher_consolidated: