From bf56c73c6c7d84ac5dcebbbd693abc15ecf508b8 Mon Sep 17 00:00:00 2001 From: khushi Date: Thu, 19 Jun 2025 17:45:22 +0530 Subject: [PATCH] feat: add naming series for Contract Doctype --- erpnext/crm/doctype/contract/contract.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/erpnext/crm/doctype/contract/contract.json b/erpnext/crm/doctype/contract/contract.json index b98e5c5a64c..336f51cfe04 100755 --- a/erpnext/crm/doctype/contract/contract.json +++ b/erpnext/crm/doctype/contract/contract.json @@ -2,6 +2,7 @@ "actions": [], "allow_import": 1, "allow_rename": 1, + "autoname": "CON-.YYYY.-.#####", "creation": "2018-04-12 06:32:04.582486", "doctype": "DocType", "editable_grid": 1, @@ -256,10 +257,11 @@ "grid_page_length": 50, "is_submittable": 1, "links": [], - "modified": "2025-05-23 13:54:03.346537", + "modified": "2025-06-19 17:27:19.908421", "modified_by": "Administrator", "module": "CRM", "name": "Contract", + "naming_rule": "Expression (old style)", "owner": "Administrator", "permissions": [ { @@ -328,6 +330,7 @@ "sort_field": "creation", "sort_order": "DESC", "states": [], + "title_field": "party_name", "track_changes": 1, "track_seen": 1 }