ran 2to3, evaluation (#13499)

* ran 2to3, evaluation

* Update update_gstin.py

* Update accounts_receivable_summary.py
This commit is contained in:
Achilles Rasquinha
2018-05-23 01:01:24 -05:00
committed by Nabin Hait
parent c141eb00ee
commit efb731941d
26 changed files with 74 additions and 58 deletions

View File

@@ -9,6 +9,7 @@ from frappe.utils import getdate, cstr, flt, fmt_money
from frappe import _, _dict
from erpnext.accounts.utils import get_account_currency
from six import iteritems
def execute(filters=None):
if not filters:
@@ -194,7 +195,7 @@ def get_data_with_opening_closing(filters, account_details, gl_entries):
data.append(totals.opening)
if filters.get("group_by") in ["Group by Account", "Group by Party"]:
for acc, acc_dict in gle_map.items():
for acc, acc_dict in iteritems(gle_map):
# acc
if acc_dict.entries:
# opening