fix: Restored city, state and country fields
diff --git a/erpnext/crm/doctype/lead/lead.json b/erpnext/crm/doctype/lead/lead.json
index 9216c45..d47373f 100644
--- a/erpnext/crm/doctype/lead/lead.json
+++ b/erpnext/crm/doctype/lead/lead.json
@@ -46,6 +46,10 @@
"fax",
"address_section",
"address_html",
+ "column_break_38",
+ "city",
+ "state",
+ "country",
"column_break2",
"contact_html",
"qualification_tab",
@@ -333,9 +337,8 @@
},
{
"fieldname": "no_of_employees",
- "fieldtype": "Select",
- "label": "No. of Employees",
- "options": "1-10\n11-20\n21-30\n31-100\n11-50\n51-200\n201-500\n101-500\n500-1000\n501-1000\n>1000\n1000+"
+ "fieldtype": "Int",
+ "label": "No. of Employees"
},
{
"fieldname": "column_break_22",
@@ -477,13 +480,33 @@
"fieldname": "disabled",
"fieldtype": "Check",
"label": "Disabled"
+ },
+ {
+ "fieldname": "column_break_38",
+ "fieldtype": "Column Break"
+ },
+ {
+ "fieldname": "city",
+ "fieldtype": "Data",
+ "label": "City"
+ },
+ {
+ "fieldname": "state",
+ "fieldtype": "Data",
+ "label": "State"
+ },
+ {
+ "fieldname": "country",
+ "fieldtype": "Link",
+ "label": "Country",
+ "options": "Country"
}
],
"icon": "fa fa-user",
"idx": 5,
"image_field": "image",
"links": [],
- "modified": "2022-06-21 15:10:06.613519",
+ "modified": "2022-06-27 21:56:17.392756",
"modified_by": "Administrator",
"module": "CRM",
"name": "Lead",
diff --git a/erpnext/crm/doctype/opportunity/opportunity.json b/erpnext/crm/doctype/opportunity/opportunity.json
index 8ddd4e3..1a6f23b 100644
--- a/erpnext/crm/doctype/opportunity/opportunity.json
+++ b/erpnext/crm/doctype/opportunity/opportunity.json
@@ -32,9 +32,12 @@
"column_break_23",
"industry",
"market_segment",
- "column_break_31",
- "territory",
"website",
+ "column_break_31",
+ "city",
+ "state",
+ "country",
+ "territory",
"section_break_14",
"currency",
"column_break_36",
@@ -463,9 +466,8 @@
},
{
"fieldname": "no_of_employees",
- "fieldtype": "Select",
- "label": "No of Employees",
- "options": "1-10\n11-20\n21-30\n31-100\n11-50\n51-200\n201-500\n101-500\n500-1000\n501-1000\n>1000\n1000+"
+ "fieldtype": "Int",
+ "label": "No of Employees"
},
{
"fieldname": "annual_revenue",
@@ -603,12 +605,28 @@
"label": "Notes",
"no_copy": 1,
"options": "CRM Note"
+ },
+ {
+ "fieldname": "city",
+ "fieldtype": "Data",
+ "label": "City"
+ },
+ {
+ "fieldname": "state",
+ "fieldtype": "Data",
+ "label": "State"
+ },
+ {
+ "fieldname": "country",
+ "fieldtype": "Link",
+ "label": "Country",
+ "options": "Country"
}
],
"icon": "fa fa-info-sign",
"idx": 195,
"links": [],
- "modified": "2022-06-21 15:04:34.363959",
+ "modified": "2022-06-27 18:44:32.858696",
"modified_by": "Administrator",
"module": "CRM",
"name": "Opportunity",