From 6c8d4ef5df27580a25104f3e5f6945292353219d Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Fri, 7 Jun 2024 20:18:44 +0530 Subject: [PATCH] patch: added patch to create default fields layout --- crm/patches.txt | 3 ++- crm/patches/v1_0/create_default_fields_layout.py | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 crm/patches/v1_0/create_default_fields_layout.py diff --git a/crm/patches.txt b/crm/patches.txt index a16089c3..c0204ec5 100644 --- a/crm/patches.txt +++ b/crm/patches.txt @@ -5,4 +5,5 @@ 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 \ No newline at end of file +crm.patches.v1_0.create_email_template_custom_fields +crm.patches.v1_0.create_default_fields_layout \ No newline at end of file diff --git a/crm/patches/v1_0/create_default_fields_layout.py b/crm/patches/v1_0/create_default_fields_layout.py new file mode 100644 index 00000000..383e7ac2 --- /dev/null +++ b/crm/patches/v1_0/create_default_fields_layout.py @@ -0,0 +1,5 @@ + +from crm.install import add_default_fields_layout + +def execute(): + add_default_fields_layout() \ No newline at end of file