mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
chore: remove all six compat code
This commit is contained in:
@@ -7,7 +7,6 @@ from collections import OrderedDict
|
||||
import frappe
|
||||
from frappe import _, _dict
|
||||
from frappe.utils import cstr, flt, getdate
|
||||
from six import iteritems
|
||||
|
||||
from erpnext import get_company_currency, get_default_company
|
||||
from erpnext.accounts.doctype.accounting_dimension.accounting_dimension import (
|
||||
@@ -314,7 +313,7 @@ def get_data_with_opening_closing(filters, account_details, accounting_dimension
|
||||
data.append(totals.opening)
|
||||
|
||||
if filters.get("group_by") != 'Group by Voucher (Consolidated)':
|
||||
for acc, acc_dict in iteritems(gle_map):
|
||||
for acc, acc_dict in gle_map.items():
|
||||
# acc
|
||||
if acc_dict.entries:
|
||||
# opening
|
||||
|
||||
Reference in New Issue
Block a user