fix: contact link with autoincr (#26642)
This commit is contained in:
parent
673f45b3e9
commit
b63295d25c
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ class Contact(Document):
|
|||
|
||||
# concat party name if reqd
|
||||
for link in self.links:
|
||||
self.name = self.name + "-" + link.link_name.strip()
|
||||
self.name = self.name + "-" + cstr(link.link_name).strip()
|
||||
break
|
||||
|
||||
if frappe.db.exists("Contact", self.name):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue