diff --git a/crm/install.py b/crm/install.py index da660f788..594b1ea5f 100644 --- a/crm/install.py +++ b/crm/install.py @@ -144,6 +144,14 @@ def add_default_fields_layout(force=False): "doctype": "CRM Deal", "layout": '[{"label":"Contacts","name":"contacts_section","opened":true,"editable":false,"contacts":[]},{"label":"Organization Details","name":"organization_tab","opened":true,"fields":["organization","website","territory","annual_revenue","close_date","probability","next_step","deal_owner"]}]' }, + "Contact-Side Panel": { + "doctype": "Contact", + "layout": '[{"label":"Details","name":"details","opened":true,"fields":["salutation","first_name","last_name","email_id","mobile_no","gender","company_name","designation","address"]}]' + }, + "CRM Organization-Side Panel": { + "doctype": "CRM Organization", + "layout": '[{"label":"Details","name":"details","opened":true,"fields":["organization_name","website","territory","industry","no_of_employees","address"]}]' + }, } for layout in quick_entry_layouts: diff --git a/crm/patches.txt b/crm/patches.txt index 89401ddae..b14faf132 100644 --- a/crm/patches.txt +++ b/crm/patches.txt @@ -6,6 +6,6 @@ crm.patches.v1_0.move_crm_note_data_to_fcrm_note [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 #13/09/2024 +crm.patches.v1_0.create_default_fields_layout #31/10/2024 crm.patches.v1_0.create_default_sidebar_fields_layout crm.patches.v1_0.update_deal_quick_entry_layout \ No newline at end of file