brotherton-erpnext/erpnext/crm
Ashish Shah c0817838d9
fix: when lead is created with mobile_no, mobile_no value gets lost (#26298)
Summary: When a Lead is created with mobile_no, mobile_no value gets lost (mobile_no value is overwritten by phone value)
It is backport of https://github.com/frappe/erpnext/pull/26116

Steps to reproduce
[1]Create a Lead.
[2]Enter 
Person Name(lead_name): before_fix
Under Contact section, 
enter Phone(phone): 11 and 
Mobile No.(mobile_no):22
[3]Save it
[4] F12, 
cur_frm.doc.phone : 11 (correct)
cur_frm.doc.mobile_no : 11 (incorrect, it should be 22)
[5]Under Address & Contact section ,check contact_html it shows
before_fix
Phone: 11 (Primary label is missing)
Phone: 22 (incorrect, it should be Mobile No:22, also Primary label is missing)


Actual:
mobile_no value is lost. it is overwritten by phone value
following is image with error (before fix)
![image](https://user-images.githubusercontent.com/29812965/122664017-54b2e880-d1bc-11eb-8e4c-767a23ed7eb7.png)


Expected:
mobile_no value should be retained
following is image after fix
![image](https://user-images.githubusercontent.com/29812965/122664037-64323180-d1bc-11eb-8f6f-7628cdaa7adc.png)
2021-07-02 15:16:42 +05:30
..
crm_dashboard/crm feat: Export CRM dashboard (#22778) 2020-07-22 18:16:57 +05:30
dashboard_chart feat: Export CRM dashboard (#22778) 2020-07-22 18:16:57 +05:30
doctype fix: when lead is created with mobile_no, mobile_no value gets lost (#26298) 2021-07-02 15:16:42 +05:30
module_onboarding/crm fix: grammatical fixes in module onboarding (#22580) 2020-07-08 14:25:51 +05:30
number_card feat: Export CRM dashboard (#22778) 2020-07-22 18:16:57 +05:30
onboarding/crm CRM Onboarding 2020-05-14 18:42:44 +05:30
onboarding_step fix: full form for opportunity in crm dashboard (#24436) 2021-01-22 10:03:29 +05:30
report fix: chart not visible for First Response Time reports (#26032) (#26185) 2021-06-24 11:53:28 +05:30
workspace/crm feat: update workspace folders 2020-12-03 15:48:57 +05:30
__init__.py [new-module] crm 2015-02-17 10:36:54 +05:30
utils.py solved merge conflicts 2020-05-07 15:38:20 +05:30