Skip to content

Commit

Permalink
patch: create email template custom fields
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Jan 26, 2024
1 parent 945d657 commit dd8ca46
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Empty file added crm/patches.py/v1_0/__init__.py
Empty file.
5 changes: 5 additions & 0 deletions crm/patches.py/v1_0/create_email_template_custom_fields.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

from crm.install import add_email_template_custom_fields

def execute():
add_email_template_custom_fields()
3 changes: 2 additions & 1 deletion crm/patches.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
# Patches added in this section will be executed after doctypes are migrated
crm.patches.v1_0.create_email_template_custom_fields

0 comments on commit dd8ca46

Please sign in to comment.