From 2b4feacf6ee74df537c634d0eea6f6ec75ae71c2 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Wed, 13 Sep 2023 19:42:09 +0530 Subject: [PATCH] fix: changed Module name from CRM to FCRM --- crm/{crm => fcrm}/__init__.py | 0 crm/{crm => fcrm}/doctype/__init__.py | 0 crm/{crm => fcrm}/doctype/crm_call_log/__init__.py | 0 crm/{crm => fcrm}/doctype/crm_call_log/crm_call_log.js | 0 crm/{crm => fcrm}/doctype/crm_call_log/crm_call_log.json | 2 +- crm/{crm => fcrm}/doctype/crm_call_log/crm_call_log.py | 0 crm/{crm => fcrm}/doctype/crm_call_log/test_crm_call_log.py | 0 crm/{crm => fcrm}/doctype/crm_contacts/__init__.py | 0 crm/{crm => fcrm}/doctype/crm_contacts/crm_contacts.json | 2 +- crm/{crm => fcrm}/doctype/crm_contacts/crm_contacts.py | 0 crm/{crm => fcrm}/doctype/crm_industry/__init__.py | 0 crm/{crm => fcrm}/doctype/crm_industry/crm_industry.js | 0 crm/{crm => fcrm}/doctype/crm_industry/crm_industry.json | 2 +- crm/{crm => fcrm}/doctype/crm_industry/crm_industry.py | 0 crm/{crm => fcrm}/doctype/crm_industry/test_crm_industry.py | 0 crm/{crm => fcrm}/doctype/crm_lead/__init__.py | 0 crm/{crm => fcrm}/doctype/crm_lead/api.py | 0 crm/{crm => fcrm}/doctype/crm_lead/crm_lead.js | 0 crm/{crm => fcrm}/doctype/crm_lead/crm_lead.json | 2 +- crm/{crm => fcrm}/doctype/crm_lead/crm_lead.py | 0 crm/{crm => fcrm}/doctype/crm_lead/test_crm_lead.py | 0 crm/{crm => fcrm}/doctype/crm_lead_source/__init__.py | 0 crm/{crm => fcrm}/doctype/crm_lead_source/crm_lead_source.js | 0 .../doctype/crm_lead_source/crm_lead_source.json | 2 +- crm/{crm => fcrm}/doctype/crm_lead_source/crm_lead_source.py | 0 .../doctype/crm_lead_source/test_crm_lead_source.py | 0 crm/{crm => fcrm}/doctype/crm_note/__init__.py | 0 crm/{crm => fcrm}/doctype/crm_note/crm_note.js | 0 crm/{crm => fcrm}/doctype/crm_note/crm_note.json | 2 +- crm/{crm => fcrm}/doctype/crm_note/crm_note.py | 0 crm/{crm => fcrm}/doctype/crm_note/test_crm_note.py | 0 crm/{crm => fcrm}/doctype/twilio_agents/__init__.py | 0 crm/{crm => fcrm}/doctype/twilio_agents/test_twilio_agents.py | 0 crm/{crm => fcrm}/doctype/twilio_agents/twilio_agents.js | 0 crm/{crm => fcrm}/doctype/twilio_agents/twilio_agents.json | 2 +- crm/{crm => fcrm}/doctype/twilio_agents/twilio_agents.py | 0 crm/{crm => fcrm}/doctype/twilio_settings/__init__.py | 0 .../doctype/twilio_settings/test_twilio_settings.py | 0 crm/{crm => fcrm}/doctype/twilio_settings/twilio_settings.js | 0 .../doctype/twilio_settings/twilio_settings.json | 2 +- crm/{crm => fcrm}/doctype/twilio_settings/twilio_settings.py | 0 crm/modules.txt | 2 +- frontend/src/pages/CallLog.vue | 4 ++-- frontend/src/pages/Deal.vue | 2 +- frontend/src/pages/Lead.vue | 2 +- 45 files changed, 13 insertions(+), 13 deletions(-) rename crm/{crm => fcrm}/__init__.py (100%) rename crm/{crm => fcrm}/doctype/__init__.py (100%) rename crm/{crm => fcrm}/doctype/crm_call_log/__init__.py (100%) rename crm/{crm => fcrm}/doctype/crm_call_log/crm_call_log.js (100%) rename crm/{crm => fcrm}/doctype/crm_call_log/crm_call_log.json (99%) rename crm/{crm => fcrm}/doctype/crm_call_log/crm_call_log.py (100%) rename crm/{crm => fcrm}/doctype/crm_call_log/test_crm_call_log.py (100%) rename crm/{crm => fcrm}/doctype/crm_contacts/__init__.py (100%) rename crm/{crm => fcrm}/doctype/crm_contacts/crm_contacts.json (98%) rename crm/{crm => fcrm}/doctype/crm_contacts/crm_contacts.py (100%) rename crm/{crm => fcrm}/doctype/crm_industry/__init__.py (100%) rename crm/{crm => fcrm}/doctype/crm_industry/crm_industry.js (100%) rename crm/{crm => fcrm}/doctype/crm_industry/crm_industry.json (97%) rename crm/{crm => fcrm}/doctype/crm_industry/crm_industry.py (100%) rename crm/{crm => fcrm}/doctype/crm_industry/test_crm_industry.py (100%) rename crm/{crm => fcrm}/doctype/crm_lead/__init__.py (100%) rename crm/{crm => fcrm}/doctype/crm_lead/api.py (100%) rename crm/{crm => fcrm}/doctype/crm_lead/crm_lead.js (100%) rename crm/{crm => fcrm}/doctype/crm_lead/crm_lead.json (99%) rename crm/{crm => fcrm}/doctype/crm_lead/crm_lead.py (100%) rename crm/{crm => fcrm}/doctype/crm_lead/test_crm_lead.py (100%) rename crm/{crm => fcrm}/doctype/crm_lead_source/__init__.py (100%) rename crm/{crm => fcrm}/doctype/crm_lead_source/crm_lead_source.js (100%) rename crm/{crm => fcrm}/doctype/crm_lead_source/crm_lead_source.json (98%) rename crm/{crm => fcrm}/doctype/crm_lead_source/crm_lead_source.py (100%) rename crm/{crm => fcrm}/doctype/crm_lead_source/test_crm_lead_source.py (100%) rename crm/{crm => fcrm}/doctype/crm_note/__init__.py (100%) rename crm/{crm => fcrm}/doctype/crm_note/crm_note.js (100%) rename crm/{crm => fcrm}/doctype/crm_note/crm_note.json (98%) rename crm/{crm => fcrm}/doctype/crm_note/crm_note.py (100%) rename crm/{crm => fcrm}/doctype/crm_note/test_crm_note.py (100%) rename crm/{crm => fcrm}/doctype/twilio_agents/__init__.py (100%) rename crm/{crm => fcrm}/doctype/twilio_agents/test_twilio_agents.py (100%) rename crm/{crm => fcrm}/doctype/twilio_agents/twilio_agents.js (100%) rename crm/{crm => fcrm}/doctype/twilio_agents/twilio_agents.json (98%) rename crm/{crm => fcrm}/doctype/twilio_agents/twilio_agents.py (100%) rename crm/{crm => fcrm}/doctype/twilio_settings/__init__.py (100%) rename crm/{crm => fcrm}/doctype/twilio_settings/test_twilio_settings.py (100%) rename crm/{crm => fcrm}/doctype/twilio_settings/twilio_settings.js (100%) rename crm/{crm => fcrm}/doctype/twilio_settings/twilio_settings.json (98%) rename crm/{crm => fcrm}/doctype/twilio_settings/twilio_settings.py (100%) diff --git a/crm/crm/__init__.py b/crm/fcrm/__init__.py similarity index 100% rename from crm/crm/__init__.py rename to crm/fcrm/__init__.py diff --git a/crm/crm/doctype/__init__.py b/crm/fcrm/doctype/__init__.py similarity index 100% rename from crm/crm/doctype/__init__.py rename to crm/fcrm/doctype/__init__.py diff --git a/crm/crm/doctype/crm_call_log/__init__.py b/crm/fcrm/doctype/crm_call_log/__init__.py similarity index 100% rename from crm/crm/doctype/crm_call_log/__init__.py rename to crm/fcrm/doctype/crm_call_log/__init__.py diff --git a/crm/crm/doctype/crm_call_log/crm_call_log.js b/crm/fcrm/doctype/crm_call_log/crm_call_log.js similarity index 100% rename from crm/crm/doctype/crm_call_log/crm_call_log.js rename to crm/fcrm/doctype/crm_call_log/crm_call_log.js diff --git a/crm/crm/doctype/crm_call_log/crm_call_log.json b/crm/fcrm/doctype/crm_call_log/crm_call_log.json similarity index 99% rename from crm/crm/doctype/crm_call_log/crm_call_log.json rename to crm/fcrm/doctype/crm_call_log/crm_call_log.json index db30a776..469c1127 100644 --- a/crm/crm/doctype/crm_call_log/crm_call_log.json +++ b/crm/fcrm/doctype/crm_call_log/crm_call_log.json @@ -120,7 +120,7 @@ "links": [], "modified": "2023-08-30 15:39:46.613734", "modified_by": "Administrator", - "module": "CRM", + "module": "FCRM", "name": "CRM Call Log", "naming_rule": "By fieldname", "owner": "Administrator", diff --git a/crm/crm/doctype/crm_call_log/crm_call_log.py b/crm/fcrm/doctype/crm_call_log/crm_call_log.py similarity index 100% rename from crm/crm/doctype/crm_call_log/crm_call_log.py rename to crm/fcrm/doctype/crm_call_log/crm_call_log.py diff --git a/crm/crm/doctype/crm_call_log/test_crm_call_log.py b/crm/fcrm/doctype/crm_call_log/test_crm_call_log.py similarity index 100% rename from crm/crm/doctype/crm_call_log/test_crm_call_log.py rename to crm/fcrm/doctype/crm_call_log/test_crm_call_log.py diff --git a/crm/crm/doctype/crm_contacts/__init__.py b/crm/fcrm/doctype/crm_contacts/__init__.py similarity index 100% rename from crm/crm/doctype/crm_contacts/__init__.py rename to crm/fcrm/doctype/crm_contacts/__init__.py diff --git a/crm/crm/doctype/crm_contacts/crm_contacts.json b/crm/fcrm/doctype/crm_contacts/crm_contacts.json similarity index 98% rename from crm/crm/doctype/crm_contacts/crm_contacts.json rename to crm/fcrm/doctype/crm_contacts/crm_contacts.json index cffa193b..e6044d67 100644 --- a/crm/crm/doctype/crm_contacts/crm_contacts.json +++ b/crm/fcrm/doctype/crm_contacts/crm_contacts.json @@ -75,7 +75,7 @@ "links": [], "modified": "2023-08-25 19:19:27.813526", "modified_by": "Administrator", - "module": "CRM", + "module": "FCRM", "name": "CRM Contacts", "owner": "Administrator", "permissions": [], diff --git a/crm/crm/doctype/crm_contacts/crm_contacts.py b/crm/fcrm/doctype/crm_contacts/crm_contacts.py similarity index 100% rename from crm/crm/doctype/crm_contacts/crm_contacts.py rename to crm/fcrm/doctype/crm_contacts/crm_contacts.py diff --git a/crm/crm/doctype/crm_industry/__init__.py b/crm/fcrm/doctype/crm_industry/__init__.py similarity index 100% rename from crm/crm/doctype/crm_industry/__init__.py rename to crm/fcrm/doctype/crm_industry/__init__.py diff --git a/crm/crm/doctype/crm_industry/crm_industry.js b/crm/fcrm/doctype/crm_industry/crm_industry.js similarity index 100% rename from crm/crm/doctype/crm_industry/crm_industry.js rename to crm/fcrm/doctype/crm_industry/crm_industry.js diff --git a/crm/crm/doctype/crm_industry/crm_industry.json b/crm/fcrm/doctype/crm_industry/crm_industry.json similarity index 97% rename from crm/crm/doctype/crm_industry/crm_industry.json rename to crm/fcrm/doctype/crm_industry/crm_industry.json index 10be6079..9523cca4 100644 --- a/crm/crm/doctype/crm_industry/crm_industry.json +++ b/crm/fcrm/doctype/crm_industry/crm_industry.json @@ -23,7 +23,7 @@ "links": [], "modified": "2023-07-24 19:40:31.980882", "modified_by": "Administrator", - "module": "CRM", + "module": "FCRM", "name": "CRM Industry", "naming_rule": "By fieldname", "owner": "Administrator", diff --git a/crm/crm/doctype/crm_industry/crm_industry.py b/crm/fcrm/doctype/crm_industry/crm_industry.py similarity index 100% rename from crm/crm/doctype/crm_industry/crm_industry.py rename to crm/fcrm/doctype/crm_industry/crm_industry.py diff --git a/crm/crm/doctype/crm_industry/test_crm_industry.py b/crm/fcrm/doctype/crm_industry/test_crm_industry.py similarity index 100% rename from crm/crm/doctype/crm_industry/test_crm_industry.py rename to crm/fcrm/doctype/crm_industry/test_crm_industry.py diff --git a/crm/crm/doctype/crm_lead/__init__.py b/crm/fcrm/doctype/crm_lead/__init__.py similarity index 100% rename from crm/crm/doctype/crm_lead/__init__.py rename to crm/fcrm/doctype/crm_lead/__init__.py diff --git a/crm/crm/doctype/crm_lead/api.py b/crm/fcrm/doctype/crm_lead/api.py similarity index 100% rename from crm/crm/doctype/crm_lead/api.py rename to crm/fcrm/doctype/crm_lead/api.py diff --git a/crm/crm/doctype/crm_lead/crm_lead.js b/crm/fcrm/doctype/crm_lead/crm_lead.js similarity index 100% rename from crm/crm/doctype/crm_lead/crm_lead.js rename to crm/fcrm/doctype/crm_lead/crm_lead.js diff --git a/crm/crm/doctype/crm_lead/crm_lead.json b/crm/fcrm/doctype/crm_lead/crm_lead.json similarity index 99% rename from crm/crm/doctype/crm_lead/crm_lead.json rename to crm/fcrm/doctype/crm_lead/crm_lead.json index 71dbb18b..23e66072 100644 --- a/crm/crm/doctype/crm_lead/crm_lead.json +++ b/crm/fcrm/doctype/crm_lead/crm_lead.json @@ -258,7 +258,7 @@ "links": [], "modified": "2023-08-25 19:21:22.778067", "modified_by": "Administrator", - "module": "CRM", + "module": "FCRM", "name": "CRM Lead", "naming_rule": "By \"Naming Series\" field", "owner": "Administrator", diff --git a/crm/crm/doctype/crm_lead/crm_lead.py b/crm/fcrm/doctype/crm_lead/crm_lead.py similarity index 100% rename from crm/crm/doctype/crm_lead/crm_lead.py rename to crm/fcrm/doctype/crm_lead/crm_lead.py diff --git a/crm/crm/doctype/crm_lead/test_crm_lead.py b/crm/fcrm/doctype/crm_lead/test_crm_lead.py similarity index 100% rename from crm/crm/doctype/crm_lead/test_crm_lead.py rename to crm/fcrm/doctype/crm_lead/test_crm_lead.py diff --git a/crm/crm/doctype/crm_lead_source/__init__.py b/crm/fcrm/doctype/crm_lead_source/__init__.py similarity index 100% rename from crm/crm/doctype/crm_lead_source/__init__.py rename to crm/fcrm/doctype/crm_lead_source/__init__.py diff --git a/crm/crm/doctype/crm_lead_source/crm_lead_source.js b/crm/fcrm/doctype/crm_lead_source/crm_lead_source.js similarity index 100% rename from crm/crm/doctype/crm_lead_source/crm_lead_source.js rename to crm/fcrm/doctype/crm_lead_source/crm_lead_source.js diff --git a/crm/crm/doctype/crm_lead_source/crm_lead_source.json b/crm/fcrm/doctype/crm_lead_source/crm_lead_source.json similarity index 98% rename from crm/crm/doctype/crm_lead_source/crm_lead_source.json rename to crm/fcrm/doctype/crm_lead_source/crm_lead_source.json index 4c07a4ab..88bcfd34 100644 --- a/crm/crm/doctype/crm_lead_source/crm_lead_source.json +++ b/crm/fcrm/doctype/crm_lead_source/crm_lead_source.json @@ -30,7 +30,7 @@ "links": [], "modified": "2023-07-24 19:48:09.371379", "modified_by": "Administrator", - "module": "CRM", + "module": "FCRM", "name": "CRM Lead Source", "naming_rule": "By fieldname", "owner": "Administrator", diff --git a/crm/crm/doctype/crm_lead_source/crm_lead_source.py b/crm/fcrm/doctype/crm_lead_source/crm_lead_source.py similarity index 100% rename from crm/crm/doctype/crm_lead_source/crm_lead_source.py rename to crm/fcrm/doctype/crm_lead_source/crm_lead_source.py diff --git a/crm/crm/doctype/crm_lead_source/test_crm_lead_source.py b/crm/fcrm/doctype/crm_lead_source/test_crm_lead_source.py similarity index 100% rename from crm/crm/doctype/crm_lead_source/test_crm_lead_source.py rename to crm/fcrm/doctype/crm_lead_source/test_crm_lead_source.py diff --git a/crm/crm/doctype/crm_note/__init__.py b/crm/fcrm/doctype/crm_note/__init__.py similarity index 100% rename from crm/crm/doctype/crm_note/__init__.py rename to crm/fcrm/doctype/crm_note/__init__.py diff --git a/crm/crm/doctype/crm_note/crm_note.js b/crm/fcrm/doctype/crm_note/crm_note.js similarity index 100% rename from crm/crm/doctype/crm_note/crm_note.js rename to crm/fcrm/doctype/crm_note/crm_note.js diff --git a/crm/crm/doctype/crm_note/crm_note.json b/crm/fcrm/doctype/crm_note/crm_note.json similarity index 98% rename from crm/crm/doctype/crm_note/crm_note.json rename to crm/fcrm/doctype/crm_note/crm_note.json index 146852b7..f17f84c7 100644 --- a/crm/crm/doctype/crm_note/crm_note.json +++ b/crm/fcrm/doctype/crm_note/crm_note.json @@ -42,7 +42,7 @@ ], "modified": "2023-08-28 11:48:42.100802", "modified_by": "Administrator", - "module": "CRM", + "module": "FCRM", "name": "CRM Note", "owner": "Administrator", "permissions": [ diff --git a/crm/crm/doctype/crm_note/crm_note.py b/crm/fcrm/doctype/crm_note/crm_note.py similarity index 100% rename from crm/crm/doctype/crm_note/crm_note.py rename to crm/fcrm/doctype/crm_note/crm_note.py diff --git a/crm/crm/doctype/crm_note/test_crm_note.py b/crm/fcrm/doctype/crm_note/test_crm_note.py similarity index 100% rename from crm/crm/doctype/crm_note/test_crm_note.py rename to crm/fcrm/doctype/crm_note/test_crm_note.py diff --git a/crm/crm/doctype/twilio_agents/__init__.py b/crm/fcrm/doctype/twilio_agents/__init__.py similarity index 100% rename from crm/crm/doctype/twilio_agents/__init__.py rename to crm/fcrm/doctype/twilio_agents/__init__.py diff --git a/crm/crm/doctype/twilio_agents/test_twilio_agents.py b/crm/fcrm/doctype/twilio_agents/test_twilio_agents.py similarity index 100% rename from crm/crm/doctype/twilio_agents/test_twilio_agents.py rename to crm/fcrm/doctype/twilio_agents/test_twilio_agents.py diff --git a/crm/crm/doctype/twilio_agents/twilio_agents.js b/crm/fcrm/doctype/twilio_agents/twilio_agents.js similarity index 100% rename from crm/crm/doctype/twilio_agents/twilio_agents.js rename to crm/fcrm/doctype/twilio_agents/twilio_agents.js diff --git a/crm/crm/doctype/twilio_agents/twilio_agents.json b/crm/fcrm/doctype/twilio_agents/twilio_agents.json similarity index 98% rename from crm/crm/doctype/twilio_agents/twilio_agents.json rename to crm/fcrm/doctype/twilio_agents/twilio_agents.json index 29890aea..c54aaf36 100644 --- a/crm/crm/doctype/twilio_agents/twilio_agents.json +++ b/crm/fcrm/doctype/twilio_agents/twilio_agents.json @@ -53,7 +53,7 @@ "links": [], "modified": "2023-08-17 22:21:00.606384", "modified_by": "Administrator", - "module": "CRM", + "module": "FCRM", "name": "Twilio Agents", "naming_rule": "By fieldname", "owner": "Administrator", diff --git a/crm/crm/doctype/twilio_agents/twilio_agents.py b/crm/fcrm/doctype/twilio_agents/twilio_agents.py similarity index 100% rename from crm/crm/doctype/twilio_agents/twilio_agents.py rename to crm/fcrm/doctype/twilio_agents/twilio_agents.py diff --git a/crm/crm/doctype/twilio_settings/__init__.py b/crm/fcrm/doctype/twilio_settings/__init__.py similarity index 100% rename from crm/crm/doctype/twilio_settings/__init__.py rename to crm/fcrm/doctype/twilio_settings/__init__.py diff --git a/crm/crm/doctype/twilio_settings/test_twilio_settings.py b/crm/fcrm/doctype/twilio_settings/test_twilio_settings.py similarity index 100% rename from crm/crm/doctype/twilio_settings/test_twilio_settings.py rename to crm/fcrm/doctype/twilio_settings/test_twilio_settings.py diff --git a/crm/crm/doctype/twilio_settings/twilio_settings.js b/crm/fcrm/doctype/twilio_settings/twilio_settings.js similarity index 100% rename from crm/crm/doctype/twilio_settings/twilio_settings.js rename to crm/fcrm/doctype/twilio_settings/twilio_settings.js diff --git a/crm/crm/doctype/twilio_settings/twilio_settings.json b/crm/fcrm/doctype/twilio_settings/twilio_settings.json similarity index 98% rename from crm/crm/doctype/twilio_settings/twilio_settings.json rename to crm/fcrm/doctype/twilio_settings/twilio_settings.json index 1cc502cb..7bcb2a85 100644 --- a/crm/crm/doctype/twilio_settings/twilio_settings.json +++ b/crm/fcrm/doctype/twilio_settings/twilio_settings.json @@ -71,7 +71,7 @@ "links": [], "modified": "2023-08-28 00:44:24.942914", "modified_by": "Administrator", - "module": "CRM", + "module": "FCRM", "name": "Twilio Settings", "owner": "Administrator", "permissions": [ diff --git a/crm/crm/doctype/twilio_settings/twilio_settings.py b/crm/fcrm/doctype/twilio_settings/twilio_settings.py similarity index 100% rename from crm/crm/doctype/twilio_settings/twilio_settings.py rename to crm/fcrm/doctype/twilio_settings/twilio_settings.py diff --git a/crm/modules.txt b/crm/modules.txt index 875d0b4b..e2361914 100644 --- a/crm/modules.txt +++ b/crm/modules.txt @@ -1 +1 @@ -CRM \ No newline at end of file +FCRM \ No newline at end of file diff --git a/frontend/src/pages/CallLog.vue b/frontend/src/pages/CallLog.vue index 2ab20826..85109638 100644 --- a/frontend/src/pages/CallLog.vue +++ b/frontend/src/pages/CallLog.vue @@ -174,7 +174,7 @@ const props = defineProps({ const showNoteModal = ref(false) const callLog = createResource({ - url: 'crm.crm.doctype.crm_call_log.crm_call_log.get_call_log', + url: 'crm.fcrm.doctype.crm_call_log.crm_call_log.get_call_log', auto: true, cache: ['callLog', props.callLogId], params: { @@ -219,7 +219,7 @@ async function updateNote(_note) { } function createLead() { - call('crm.crm.doctype.crm_call_log.crm_call_log.create_lead_from_call_log', { + call('crm.fcrm.doctype.crm_call_log.crm_call_log.create_lead_from_call_log', { call_log: callLog.data, }).then((d) => { if (d) { diff --git a/frontend/src/pages/Deal.vue b/frontend/src/pages/Deal.vue index 58722b3c..c054eb7a 100644 --- a/frontend/src/pages/Deal.vue +++ b/frontend/src/pages/Deal.vue @@ -404,7 +404,7 @@ const props = defineProps({ }) const deal = createResource({ - url: 'crm.crm.doctype.crm_lead.api.get_lead', + url: 'crm.fcrm.doctype.crm_lead.api.get_lead', params: { name: props.dealId }, cache: ['deal', props.dealId], auto: true, diff --git a/frontend/src/pages/Lead.vue b/frontend/src/pages/Lead.vue index 6ae7426b..dbb6831a 100644 --- a/frontend/src/pages/Lead.vue +++ b/frontend/src/pages/Lead.vue @@ -374,7 +374,7 @@ const props = defineProps({ }) const lead = createResource({ - url: 'crm.crm.doctype.crm_lead.api.get_lead', + url: 'crm.fcrm.doctype.crm_lead.api.get_lead', params: { name: props.leadId }, cache: ['lead', props.leadId], auto: true,