Updated Python 3 fixes

This commit is contained in:
Achilles Rasquinha
2018-02-15 11:28:55 +05:30
parent 806a18b511
commit 714c7465fb
13 changed files with 39 additions and 19 deletions

View File

@@ -122,7 +122,7 @@ def setup_item_price():
}
for price_list in ("standard_buying", "standard_selling"):
for item, rate in locals().get(price_list).iteritems():
for item, rate in iteritems(locals().get(price_list)):
frappe.get_doc({
"doctype": "Item Price",
"price_list": price_list.replace("_", " ").title(),