patch: add and update default field layout for call log
This commit is contained in:
parent
edab3ed65d
commit
9faa9f7171
@ -138,6 +138,10 @@ def add_default_fields_layout(force=False):
|
|||||||
"doctype": "Address",
|
"doctype": "Address",
|
||||||
"layout": '[{"name": "details_section", "columns": [{"name": "column_uSSG", "fields": ["address_title", "address_type", "address_line1", "address_line2", "city", "state", "country", "pincode"]}]}]',
|
"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 = {
|
sidebar_fields_layouts = {
|
||||||
|
|||||||
@ -7,7 +7,7 @@ crm.patches.v1_0.rename_twilio_settings_to_crm_twilio_settings
|
|||||||
[post_model_sync]
|
[post_model_sync]
|
||||||
# Patches added in this section will be executed after doctypes are migrated
|
# 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_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.create_default_sidebar_fields_layout
|
||||||
crm.patches.v1_0.update_deal_quick_entry_layout
|
crm.patches.v1_0.update_deal_quick_entry_layout
|
||||||
crm.patches.v1_0.update_layouts_to_new_format
|
crm.patches.v1_0.update_layouts_to_new_format
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
from crm.install import add_default_fields_layout
|
from crm.install import add_default_fields_layout
|
||||||
|
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
add_default_fields_layout()
|
add_default_fields_layout()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user