From de4471876fc26fde8fed1f50c8f9446c156282c5 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Mon, 18 Aug 2025 23:58:06 +0530 Subject: [PATCH] patch: create default loast reasons (cherry picked from commit c4065b95b8f16d7550ddaff543467fb92e59d17c) --- crm/patches.txt | 3 ++- crm/patches/v1_0/create_default_lost_reasons.py | 5 +++++ frappe-ui | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 crm/patches/v1_0/create_default_lost_reasons.py diff --git a/crm/patches.txt b/crm/patches.txt index 910f0fe1..c038f250 100644 --- a/crm/patches.txt +++ b/crm/patches.txt @@ -14,4 +14,5 @@ crm.patches.v1_0.update_layouts_to_new_format crm.patches.v1_0.move_twilio_agent_to_telephony_agent crm.patches.v1_0.create_default_scripts # 13-06-2025 crm.patches.v1_0.update_deal_status_probabilities -crm.patches.v1_0.update_deal_status_type \ No newline at end of file +crm.patches.v1_0.update_deal_status_type +crm.patches.v1_0.create_default_lost_reasons \ No newline at end of file diff --git a/crm/patches/v1_0/create_default_lost_reasons.py b/crm/patches/v1_0/create_default_lost_reasons.py new file mode 100644 index 00000000..f6e43e11 --- /dev/null +++ b/crm/patches/v1_0/create_default_lost_reasons.py @@ -0,0 +1,5 @@ +from crm.install import add_default_lost_reasons + + +def execute(): + add_default_lost_reasons() diff --git a/frappe-ui b/frappe-ui index b295b54a..136f2715 160000 --- a/frappe-ui +++ b/frappe-ui @@ -1 +1 @@ -Subproject commit b295b54aaa3a2a22f455df819d87433dc6b9ff6a +Subproject commit 136f2715c2bd22b7390a2a02f1849a147d16b191