From cf2a3e2fc50d7822a2588bc01a595b00f53f75ab Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 4 Aug 2023 17:52:29 +0530 Subject: [PATCH] Contact Doctype don't have any field `job_title`. (#36156) fix: Contact Doctype doesn't have any field called `job_title` fix: Contact Doctype doesn't have any field called `job_title` (cherry picked from commit 49be7407369f33419513475f00b1ca8da9efea17) Co-authored-by: Sumit Jain <59503001+sumitjain236@users.noreply.github.com> --- erpnext/crm/doctype/lead/lead.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/crm/doctype/lead/lead.py b/erpnext/crm/doctype/lead/lead.py index 08ea4b06e7c..460974972c5 100644 --- a/erpnext/crm/doctype/lead/lead.py +++ b/erpnext/crm/doctype/lead/lead.py @@ -185,7 +185,7 @@ class Lead(SellingController, CRMNote): "last_name": self.last_name, "salutation": self.salutation, "gender": self.gender, - "job_title": self.job_title, + "designation": self.job_title, "company_name": self.company_name, } )