mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 13:49:13 +00:00
Updated Python 3 fixes
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user