[pre_model_sync] # Patches added in this section will be executed before doctypes are migrated # Read docs to understand patches: https://frappeframework.com/docs/v14/user/en/database-migrations crm.patches.v1_0.move_crm_note_data_to_fcrm_note 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 #26/04/2026 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 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 crm.patches.v1_0.create_default_lost_reasons crm.patches.v1_0.add_fields_in_assignment_rule crm.patches.v1_0.add_fb_lead_source crm.patches.v1_0.update_lead_status_type crm.patches.v1_0.reset_erpnext_form_script #04-03-2026 crm.patches.v1_0.create_custom_fields_for_erpnext_in_crm execute:frappe.db.set_single_value("FCRM Settings", "update_timestamp_on_new_communication", 1) crm.patches.v1_0.add_email_in_default_lead_sources crm.patches.v1_0.create_email_account_custom_field crm.patches.v1_0.create_default_quick_filters crm.patches.v1_0.create_custom_fields_for_product_item_sync crm.patches.v1_0.add_forecasting_section_in_quick_entry crm.patches.v1_0.set_persona_captured_for_existing_sites crm.patches.v1_0.add_enrichment_fields_to_layouts crm.patches.v1_0.reorder_address_quick_entry_layout crm.patches.v1_0.set_seen_for_existing_deals_and_leads