From dd8ca465538add08f2bb31af3459dc9ac79e29a8 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Fri, 26 Jan 2024 20:55:02 +0530 Subject: [PATCH] patch: create email template custom fields --- crm/patches.py/v1_0/__init__.py | 0 crm/patches.py/v1_0/create_email_template_custom_fields.py | 5 +++++ crm/patches.txt | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 crm/patches.py/v1_0/__init__.py create mode 100644 crm/patches.py/v1_0/create_email_template_custom_fields.py diff --git a/crm/patches.py/v1_0/__init__.py b/crm/patches.py/v1_0/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/crm/patches.py/v1_0/create_email_template_custom_fields.py b/crm/patches.py/v1_0/create_email_template_custom_fields.py new file mode 100644 index 000000000..ea6665d79 --- /dev/null +++ b/crm/patches.py/v1_0/create_email_template_custom_fields.py @@ -0,0 +1,5 @@ + +from crm.install import add_email_template_custom_fields + +def execute(): + add_email_template_custom_fields() \ No newline at end of file diff --git a/crm/patches.txt b/crm/patches.txt index f15c3a90d..f4ea0695d 100644 --- a/crm/patches.txt +++ b/crm/patches.txt @@ -3,4 +3,5 @@ # Read docs to understand patches: https://frappeframework.com/docs/v14/user/en/database-migrations [post_model_sync] -# Patches added in this section will be executed after doctypes are migrated \ No newline at end of file +# 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