Fix in import docs containing utf-8 encoding
This commit is contained in:
parent
e59f456ad4
commit
02035d071a
@ -30,7 +30,7 @@ class DocType:
|
||||
supp = supp and supp[0][0] or ''
|
||||
if supp:
|
||||
msgprint("You already have a Supplier with same name")
|
||||
raise Exception
|
||||
raise Exception("You already have a Supplier with same name")
|
||||
else:
|
||||
self.doc.name = cust
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user