diff --git a/erpnext/accounts/email_alert/notification_for_new_fiscal_year/notification_for_new_fiscal_year.json b/erpnext/accounts/email_alert/notification_for_new_fiscal_year/notification_for_new_fiscal_year.json deleted file mode 100644 index 2e524d6e0f..0000000000 --- a/erpnext/accounts/email_alert/notification_for_new_fiscal_year/notification_for_new_fiscal_year.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "attach_print": 0, - "condition": "doc.auto_created", - "creation": "2018-04-25 14:19:05.440361", - "days_in_advance": 0, - "docstatus": 0, - "doctype": "Email Alert", - "document_type": "Fiscal Year", - "enabled": 1, - "event": "New", - "idx": 0, - "is_standard": 1, - "message": "
{{ _(\"New fiscal year created :- \") }} {{ doc.name }}
", - "modified": "2018-04-25 14:30:38.588534", - "modified_by": "Administrator", - "module": "Accounts", - "name": "Notification for new fiscal year", - "owner": "Administrator", - "recipients": [ - { - "email_by_role": "Accounts User" - }, - { - "email_by_role": "Accounts Manager" - } - ], - "subject": "Notification for new fiscal year {{ doc.name }}" -} \ No newline at end of file diff --git a/erpnext/accounts/email_alert/__init__.py b/erpnext/accounts/notification/__init__.py similarity index 100% rename from erpnext/accounts/email_alert/__init__.py rename to erpnext/accounts/notification/__init__.py diff --git a/erpnext/accounts/email_alert/notification_for_new_fiscal_year/__init__.py b/erpnext/accounts/notification/notification_for_new_fiscal_year/__init__.py similarity index 100% rename from erpnext/accounts/email_alert/notification_for_new_fiscal_year/__init__.py rename to erpnext/accounts/notification/notification_for_new_fiscal_year/__init__.py diff --git a/erpnext/accounts/notification/notification_for_new_fiscal_year/notification_for_new_fiscal_year.json b/erpnext/accounts/notification/notification_for_new_fiscal_year/notification_for_new_fiscal_year.json new file mode 100644 index 0000000000..bd7a126517 --- /dev/null +++ b/erpnext/accounts/notification/notification_for_new_fiscal_year/notification_for_new_fiscal_year.json @@ -0,0 +1,28 @@ +{ + "attach_print": 0, + "condition": "doc.auto_created", + "creation": "2018-04-25 14:19:05.440361", + "days_in_advance": 0, + "docstatus": 0, + "doctype": "Notification", + "document_type": "Fiscal Year", + "enabled": 1, + "event": "New", + "idx": 0, + "is_standard": 1, + "message": "{{ _(\"New fiscal year created :- \") }} {{ doc.name }}
", + "modified": "2018-04-25 14:30:38.588534", + "modified_by": "Administrator", + "module": "Accounts", + "name": "Notification for new fiscal year", + "owner": "Administrator", + "recipients": [ + { + "email_by_role": "Accounts User" + }, + { + "email_by_role": "Accounts Manager" + } + ], + "subject": "Notification for new fiscal year {{ doc.name }}" +} \ No newline at end of file diff --git a/erpnext/accounts/email_alert/notification_for_new_fiscal_year/notification_for_new_fiscal_year.md b/erpnext/accounts/notification/notification_for_new_fiscal_year/notification_for_new_fiscal_year.md similarity index 100% rename from erpnext/accounts/email_alert/notification_for_new_fiscal_year/notification_for_new_fiscal_year.md rename to erpnext/accounts/notification/notification_for_new_fiscal_year/notification_for_new_fiscal_year.md diff --git a/erpnext/accounts/email_alert/notification_for_new_fiscal_year/notification_for_new_fiscal_year.py b/erpnext/accounts/notification/notification_for_new_fiscal_year/notification_for_new_fiscal_year.py similarity index 100% rename from erpnext/accounts/email_alert/notification_for_new_fiscal_year/notification_for_new_fiscal_year.py rename to erpnext/accounts/notification/notification_for_new_fiscal_year/notification_for_new_fiscal_year.py diff --git a/erpnext/hr/email_alert/retention_bonus/retention_bonus.json b/erpnext/hr/email_alert/retention_bonus/retention_bonus.json deleted file mode 100644 index 90b8f0d87b..0000000000 --- a/erpnext/hr/email_alert/retention_bonus/retention_bonus.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "attach_print": 0, - "condition": "doc.docstatus==1", - "creation": "2018-05-15 18:52:36.362838", - "date_changed": "bonus_payment_date", - "days_in_advance": 14, - "docstatus": 0, - "doctype": "Email Alert", - "document_type": "Retention Bonus", - "enabled": 1, - "event": "Days Before", - "idx": 0, - "is_standard": 1, - "message": "{{ _(\"Hello\") }},
\n\n{{ _(\"Retention Bonus for\") }} {{ doc.employee_name }} {{ _(\"due on\") }} {{ doc.bonus_payment_date }}
", - "modified": "2018-05-15 19:00:24.294418", - "modified_by": "ranjith@earthianslive.com", - "module": "HR", - "name": "Retention Bonus", - "owner": "ranjith@earthianslive.com", - "recipients": [ - { - "email_by_role": "HR Manager" - } - ], - "subject": "Retention Bonus alert for {{ doc.employee }}" -} \ No newline at end of file diff --git a/erpnext/hr/email_alert/__init__.py b/erpnext/hr/notification/__init__.py similarity index 100% rename from erpnext/hr/email_alert/__init__.py rename to erpnext/hr/notification/__init__.py diff --git a/erpnext/hr/email_alert/retention_bonus/__init__.py b/erpnext/hr/notification/retention_bonus/__init__.py similarity index 100% rename from erpnext/hr/email_alert/retention_bonus/__init__.py rename to erpnext/hr/notification/retention_bonus/__init__.py diff --git a/erpnext/hr/notification/retention_bonus/retention_bonus.json b/erpnext/hr/notification/retention_bonus/retention_bonus.json new file mode 100644 index 0000000000..cbc8e2d078 --- /dev/null +++ b/erpnext/hr/notification/retention_bonus/retention_bonus.json @@ -0,0 +1,26 @@ +{ + "attach_print": 0, + "condition": "doc.docstatus==1", + "creation": "2018-05-15 18:52:36.362838", + "date_changed": "bonus_payment_date", + "days_in_advance": 14, + "docstatus": 0, + "doctype": "Notification", + "document_type": "Retention Bonus", + "enabled": 1, + "event": "Days Before", + "idx": 0, + "is_standard": 1, + "message": "{{ _(\"Hello\") }},
\n\n{{ _(\"Retention Bonus for\") }} {{ doc.employee_name }} {{ _(\"due on\") }} {{ doc.bonus_payment_date }}
", + "modified": "2018-05-15 19:00:24.294418", + "modified_by": "ranjith@earthianslive.com", + "module": "HR", + "name": "Retention Bonus", + "owner": "ranjith@earthianslive.com", + "recipients": [ + { + "email_by_role": "HR Manager" + } + ], + "subject": "Retention Bonus alert for {{ doc.employee }}" +} \ No newline at end of file diff --git a/erpnext/hr/email_alert/retention_bonus/retention_bonus.md b/erpnext/hr/notification/retention_bonus/retention_bonus.md similarity index 100% rename from erpnext/hr/email_alert/retention_bonus/retention_bonus.md rename to erpnext/hr/notification/retention_bonus/retention_bonus.md diff --git a/erpnext/hr/email_alert/retention_bonus/retention_bonus.py b/erpnext/hr/notification/retention_bonus/retention_bonus.py similarity index 100% rename from erpnext/hr/email_alert/retention_bonus/retention_bonus.py rename to erpnext/hr/notification/retention_bonus/retention_bonus.py diff --git a/erpnext/hr/email_alert/training_feedback/__init__.py b/erpnext/hr/notification/training_feedback/__init__.py similarity index 100% rename from erpnext/hr/email_alert/training_feedback/__init__.py rename to erpnext/hr/notification/training_feedback/__init__.py diff --git a/erpnext/hr/email_alert/training_feedback/training_feedback.html b/erpnext/hr/notification/training_feedback/training_feedback.html similarity index 100% rename from erpnext/hr/email_alert/training_feedback/training_feedback.html rename to erpnext/hr/notification/training_feedback/training_feedback.html diff --git a/erpnext/hr/email_alert/training_feedback/training_feedback.json b/erpnext/hr/notification/training_feedback/training_feedback.json similarity index 51% rename from erpnext/hr/email_alert/training_feedback/training_feedback.json rename to erpnext/hr/notification/training_feedback/training_feedback.json index 51f6cedfec..2cc064f34a 100644 --- a/erpnext/hr/email_alert/training_feedback/training_feedback.json +++ b/erpnext/hr/notification/training_feedback/training_feedback.json @@ -1,24 +1,24 @@ { - "attach_print": 0, - "creation": "2017-08-11 03:17:11.769210", - "days_in_advance": 0, - "docstatus": 0, - "doctype": "Email Alert", - "document_type": "Training Result", - "enabled": 1, - "event": "Submit", - "idx": 0, - "is_standard": 1, - "message": "{{ message }}
\n\n{{ message }}
\n\n{{ doc.introduction }}
\n\n{{ doc.introduction }}
\n\n