diff --git a/erpnext/crm/doctype/contract/contract.py b/erpnext/crm/doctype/contract/contract.py index 648d1ffac1..6f9dcde05d 100644 --- a/erpnext/crm/doctype/contract/contract.py +++ b/erpnext/crm/doctype/contract/contract.py @@ -46,7 +46,7 @@ class Contract(Document): # end: auto-generated types def autoname(self): - name = self.party_name + "hello from contracts" + name = self.party_name if self.contract_template: name += " - {} Agreement".format(self.contract_template)