[rename] Email Alert -> Notification
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 2e524d6..0000000
--- 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": "<h3>{{_(\"Fiscal Year\")}}</h3>\n\n<p>{{ _(\"New fiscal year created :- \") }} {{ doc.name }}</p>", 
- "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 0000000..bd7a126
--- /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": "<h3>{{_(\"Fiscal Year\")}}</h3>\n\n<p>{{ _(\"New fiscal year created :- \") }} {{ doc.name }}</p>",
+ "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 90b8f0d..0000000
--- 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": "<p>{{ _(\"Hello\") }},</p>\n\n<p> {{ _(\"Retention Bonus for\") }} {{ doc.employee_name }} {{ _(\"due on\") }} {{ doc.bonus_payment_date }}</p>", 
- "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/training_feedback/training_feedback.json b/erpnext/hr/email_alert/training_feedback/training_feedback.json
deleted file mode 100644
index 51f6ced..0000000
--- a/erpnext/hr/email_alert/training_feedback/training_feedback.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "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": "<h3>{{_(\"Training Event\")}}</h3>\n<p>{{ message }}</p>\n\n<h4>{{_(\"Details\")}}</h4>\n{{_(\"Event Name\")}}: <a href=\"{{ event_link }}\">{{ name }}</a>\n<br>{{_(\"Event Location\")}}: {{ location }}\n<br>{{_(\"Start Time\")}}: {{ start_time }}\n<br>{{_(\"End Time\")}}: {{ end_time }}\n<br>{{_(\"Attendance\")}}: {{ attendance }}\n", 
- "modified": "2017-08-11 04:26:58.194793", 
- "modified_by": "Administrator", 
- "module": "HR", 
- "name": "Training Feedback", 
- "owner": "Administrator", 
- "recipients": [
-  {
-   "email_by_document_field": "employee_emails"
-  }
- ], 
- "subject": "Please Share your Feedback For {{ doc.training_event }}"
-}
\ No newline at end of file
diff --git a/erpnext/hr/email_alert/training_scheduled/training_scheduled.json b/erpnext/hr/email_alert/training_scheduled/training_scheduled.json
deleted file mode 100644
index 0782f0c..0000000
--- a/erpnext/hr/email_alert/training_scheduled/training_scheduled.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "attach_print": 0, 
- "creation": "2017-08-11 03:13:40.519614", 
- "days_in_advance": 0, 
- "docstatus": 0, 
- "doctype": "Email Alert", 
- "document_type": "Training Event", 
- "enabled": 1, 
- "event": "Submit", 
- "idx": 0, 
- "is_standard": 1, 
- "message": "<h3>{{_(\"Training Event\")}}</h3>\n\n<p>{{ doc.introduction }}</p>\n\n<h4>{{_(\"Details\")}}</h4>\n{{_(\"Event Name\")}}: {{ frappe.utils.get_link_to_form(doc.doctype, doc.name) }}\n<br>{{_(\"Event Location\")}}: {{ doc.location }}\n<br>{{_(\"Start Time\")}}: {{ doc.start_time }}\n<br>{{_(\"End Time\")}}: {{ doc.end_time }}\n", 
- "modified": "2017-08-13 22:49:42.338881",
- "modified_by": "Administrator",
- "module": "HR", 
- "name": "Training Scheduled", 
- "owner": "Administrator", 
- "recipients": [
-  {
-   "email_by_document_field": "employee_emails"
-  }
- ], 
- "subject": "Training Scheduled: {{ doc.name }}"
-}
\ 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 0000000..cbc8e2d
--- /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": "<p>{{ _(\"Hello\") }},</p>\n\n<p> {{ _(\"Retention Bonus for\") }} {{ doc.employee_name }} {{ _(\"due on\") }} {{ doc.bonus_payment_date }}</p>",
+ "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/notification/training_feedback/training_feedback.json b/erpnext/hr/notification/training_feedback/training_feedback.json
new file mode 100644
index 0000000..2cc064f
--- /dev/null
+++ b/erpnext/hr/notification/training_feedback/training_feedback.json
@@ -0,0 +1,24 @@
+{
+ "attach_print": 0,
+ "creation": "2017-08-11 03:17:11.769210",
+ "days_in_advance": 0,
+ "docstatus": 0,
+ "doctype": "Notification",
+ "document_type": "Training Result",
+ "enabled": 1,
+ "event": "Submit",
+ "idx": 0,
+ "is_standard": 1,
+ "message": "<h3>{{_(\"Training Event\")}}</h3>\n<p>{{ message }}</p>\n\n<h4>{{_(\"Details\")}}</h4>\n{{_(\"Event Name\")}}: <a href=\"{{ event_link }}\">{{ name }}</a>\n<br>{{_(\"Event Location\")}}: {{ location }}\n<br>{{_(\"Start Time\")}}: {{ start_time }}\n<br>{{_(\"End Time\")}}: {{ end_time }}\n<br>{{_(\"Attendance\")}}: {{ attendance }}\n",
+ "modified": "2017-08-11 04:26:58.194793",
+ "modified_by": "Administrator",
+ "module": "HR",
+ "name": "Training Feedback",
+ "owner": "Administrator",
+ "recipients": [
+  {
+   "email_by_document_field": "employee_emails"
+  }
+ ],
+ "subject": "Please Share your Feedback For {{ doc.training_event }}"
+}
\ No newline at end of file
diff --git a/erpnext/hr/email_alert/training_feedback/training_feedback.md b/erpnext/hr/notification/training_feedback/training_feedback.md
similarity index 100%
rename from erpnext/hr/email_alert/training_feedback/training_feedback.md
rename to erpnext/hr/notification/training_feedback/training_feedback.md
diff --git a/erpnext/hr/email_alert/training_feedback/training_feedback.py b/erpnext/hr/notification/training_feedback/training_feedback.py
similarity index 100%
rename from erpnext/hr/email_alert/training_feedback/training_feedback.py
rename to erpnext/hr/notification/training_feedback/training_feedback.py
diff --git a/erpnext/hr/email_alert/training_scheduled/__init__.py b/erpnext/hr/notification/training_scheduled/__init__.py
similarity index 100%
rename from erpnext/hr/email_alert/training_scheduled/__init__.py
rename to erpnext/hr/notification/training_scheduled/__init__.py
diff --git a/erpnext/hr/email_alert/training_scheduled/training_scheduled.html b/erpnext/hr/notification/training_scheduled/training_scheduled.html
similarity index 100%
rename from erpnext/hr/email_alert/training_scheduled/training_scheduled.html
rename to erpnext/hr/notification/training_scheduled/training_scheduled.html
diff --git a/erpnext/hr/notification/training_scheduled/training_scheduled.json b/erpnext/hr/notification/training_scheduled/training_scheduled.json
new file mode 100644
index 0000000..c07e1a6
--- /dev/null
+++ b/erpnext/hr/notification/training_scheduled/training_scheduled.json
@@ -0,0 +1,24 @@
+{
+ "attach_print": 0,
+ "creation": "2017-08-11 03:13:40.519614",
+ "days_in_advance": 0,
+ "docstatus": 0,
+ "doctype": "Notification",
+ "document_type": "Training Event",
+ "enabled": 1,
+ "event": "Submit",
+ "idx": 0,
+ "is_standard": 1,
+ "message": "<h3>{{_(\"Training Event\")}}</h3>\n\n<p>{{ doc.introduction }}</p>\n\n<h4>{{_(\"Details\")}}</h4>\n{{_(\"Event Name\")}}: {{ frappe.utils.get_link_to_form(doc.doctype, doc.name) }}\n<br>{{_(\"Event Location\")}}: {{ doc.location }}\n<br>{{_(\"Start Time\")}}: {{ doc.start_time }}\n<br>{{_(\"End Time\")}}: {{ doc.end_time }}\n",
+ "modified": "2017-08-13 22:49:42.338881",
+ "modified_by": "Administrator",
+ "module": "HR",
+ "name": "Training Scheduled",
+ "owner": "Administrator",
+ "recipients": [
+  {
+   "email_by_document_field": "employee_emails"
+  }
+ ],
+ "subject": "Training Scheduled: {{ doc.name }}"
+}
\ No newline at end of file
diff --git a/erpnext/hr/email_alert/training_scheduled/training_scheduled.md b/erpnext/hr/notification/training_scheduled/training_scheduled.md
similarity index 100%
rename from erpnext/hr/email_alert/training_scheduled/training_scheduled.md
rename to erpnext/hr/notification/training_scheduled/training_scheduled.md
diff --git a/erpnext/hr/email_alert/training_scheduled/training_scheduled.py b/erpnext/hr/notification/training_scheduled/training_scheduled.py
similarity index 100%
rename from erpnext/hr/email_alert/training_scheduled/training_scheduled.py
rename to erpnext/hr/notification/training_scheduled/training_scheduled.py