mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 23:19:20 +00:00
Fix in import docs containing utf-8 encoding
This commit is contained in:
@@ -30,7 +30,7 @@ class DocType:
|
|||||||
supp = supp and supp[0][0] or ''
|
supp = supp and supp[0][0] or ''
|
||||||
if supp:
|
if supp:
|
||||||
msgprint("You already have a Supplier with same name")
|
msgprint("You already have a Supplier with same name")
|
||||||
raise Exception
|
raise Exception("You already have a Supplier with same name")
|
||||||
else:
|
else:
|
||||||
self.doc.name = cust
|
self.doc.name = cust
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user