mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 20:59:11 +00:00
fix: Python 3 compatibility fixes
import reduce from functools Undefined variable
This commit is contained in:
@@ -292,7 +292,7 @@ def prepare_and_attach_invoice(doc, replace=False):
|
||||
"content": invoice_xml
|
||||
})
|
||||
_file.save()
|
||||
return file
|
||||
return _file
|
||||
|
||||
@frappe.whitelist()
|
||||
def generate_single_invoice(docname):
|
||||
|
||||
Reference in New Issue
Block a user