commit | 8b8e3e7890febeea6ce8b2a86ca9f5c65e746cfb | [log] [tgz] |
---|---|---|
author | Aditya Hase <aditya@adityahase.com> | Wed May 01 16:45:11 2019 +0530 |
committer | GitHub <noreply@github.com> | Wed May 01 16:45:11 2019 +0530 |
tree | f3ed3351b840341f3dbaf908325736a5504d19ec | |
parent | 0af45b41d78158f3c32dd00e5703886c1b5421cf [diff] | |
parent | ee0093c593d9776e1f38e81208f22173fc1d9cf1 [diff] |
Merge pull request #17424 from adityahase/fix-py3-misc fix: Python 3 compatibility fixes
diff --git a/erpnext/accounts/doctype/chart_of_accounts_importer/chart_of_accounts_importer.py b/erpnext/accounts/doctype/chart_of_accounts_importer/chart_of_accounts_importer.py index 948be64..76efa48 100644 --- a/erpnext/accounts/doctype/chart_of_accounts_importer/chart_of_accounts_importer.py +++ b/erpnext/accounts/doctype/chart_of_accounts_importer/chart_of_accounts_importer.py
@@ -3,6 +3,7 @@ # For license information, please see license.txt from __future__ import unicode_literals +from functools import reduce import frappe, csv from frappe import _ from frappe.utils import cstr
diff --git a/erpnext/regional/italy/utils.py b/erpnext/regional/italy/utils.py index 876bdcf..88e7c3e 100644 --- a/erpnext/regional/italy/utils.py +++ b/erpnext/regional/italy/utils.py
@@ -292,7 +292,7 @@ "content": invoice_xml }) _file.save() - return file + return _file @frappe.whitelist() def generate_single_invoice(docname):