diff --git a/crm/install.py b/crm/install.py index b0201d6d..1e0d816f 100644 --- a/crm/install.py +++ b/crm/install.py @@ -138,6 +138,10 @@ def add_default_fields_layout(force=False): "doctype": "Address", "layout": '[{"name": "details_section", "columns": [{"name": "column_uSSG", "fields": ["address_title", "address_type", "address_line1", "address_line2", "city", "state", "country", "pincode"]}]}]', }, + "CRM Call Log-Quick Entry": { + "doctype": "CRM Call Log", + "layout": '[{"name":"details_section","columns":[{"name":"column_uMSG","fields":["type","from","duration"]},{"name":"column_wiZT","fields":["to","status","caller","receiver"]}]}]', + }, } sidebar_fields_layouts = { diff --git a/crm/patches.txt b/crm/patches.txt index f8fbb4c6..f602b2bc 100644 --- a/crm/patches.txt +++ b/crm/patches.txt @@ -7,7 +7,7 @@ crm.patches.v1_0.rename_twilio_settings_to_crm_twilio_settings [post_model_sync] # Patches added in this section will be executed after doctypes are migrated crm.patches.v1_0.create_email_template_custom_fields -crm.patches.v1_0.create_default_fields_layout #10/12/2024 +crm.patches.v1_0.create_default_fields_layout #22/01/2025 crm.patches.v1_0.create_default_sidebar_fields_layout crm.patches.v1_0.update_deal_quick_entry_layout crm.patches.v1_0.update_layouts_to_new_format diff --git a/crm/patches/v1_0/create_default_fields_layout.py b/crm/patches/v1_0/create_default_fields_layout.py index 383e7ac2..4f460478 100644 --- a/crm/patches/v1_0/create_default_fields_layout.py +++ b/crm/patches/v1_0/create_default_fields_layout.py @@ -1,5 +1,5 @@ - from crm.install import add_default_fields_layout + def execute(): - add_default_fields_layout() \ No newline at end of file + add_default_fields_layout()