From 888c1f9bd41efb1b11045f2da272ca51b02ad934 Mon Sep 17 00:00:00 2001 From: PAlexanderFranklin Date: Tue, 4 Jun 2024 17:39:22 -0700 Subject: [PATCH] Revert "Test changing contract code" This reverts commit 3d1ce9d85cffa54b8d16b217327540972e06cef6. This was just a test --- erpnext/crm/doctype/contract/contract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)