From af53e81553fa1fa4d6f219fbb156e9a005070125 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Thu, 2 Jan 2025 14:33:36 +0530 Subject: [PATCH] fix: added hidden in organization & contact section for deal quick modal in patch --- crm/patches/v1_0/update_fields_layout_to_new_format.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crm/patches/v1_0/update_fields_layout_to_new_format.py b/crm/patches/v1_0/update_fields_layout_to_new_format.py index c84e085b..a720339d 100644 --- a/crm/patches/v1_0/update_fields_layout_to_new_format.py +++ b/crm/patches/v1_0/update_fields_layout_to_new_format.py @@ -40,10 +40,12 @@ def get_new_layout(old_layout, type): if section.get("label") == "Select Organization": section["name"] = "organization_section" + section["hidden"] = 1 elif section.get("label") == "Organization Details": section["name"] = "organization_details_section" elif section.get("label") == "Select Contact": section["name"] = "contact_section" + section["hidden"] = 1 elif section.get("label") == "Contact Details": section["name"] = "contact_details_section"