[fix] minor changes
diff --git a/erpnext/non_profit/doctype/grant_application/grant_application.json b/erpnext/non_profit/doctype/grant_application/grant_application.json
index a2a76c4..714f00b 100644
--- a/erpnext/non_profit/doctype/grant_application/grant_application.json
+++ b/erpnext/non_profit/doctype/grant_application/grant_application.json
@@ -899,7 +899,7 @@
"issingle": 0,
"istable": 0,
"max_attachments": 0,
- "modified": "2017-12-05 06:08:15.602432",
+ "modified": "2017-12-05 06:48:14.804480",
"modified_by": "Administrator",
"module": "Non Profit",
"name": "Grant Application",
@@ -955,6 +955,7 @@
"show_name_in_global_search": 0,
"sort_field": "modified",
"sort_order": "DESC",
+ "title_field": "",
"track_changes": 1,
"track_seen": 0
}
\ No newline at end of file
diff --git a/erpnext/non_profit/doctype/member/member.js b/erpnext/non_profit/doctype/member/member.js
index b6e05b8..c0468a7 100644
--- a/erpnext/non_profit/doctype/member/member.js
+++ b/erpnext/non_profit/doctype/member/member.js
@@ -28,28 +28,6 @@
frappe.contacts.clear_address_and_contact(frm);
}
- var email_list = frappe.utils.split_emails(v);
- if (!email_list) {
- // invalid email
- return '';
- } else {
- var invalid_email = false;
- email_list.forEach(function(email) {
- if (!validate_email(email)) {
- frappe.msgprint(__("Invalid Email: {0}", [email]));
- invalid_email = true;
- }
- });
-
- if (invalid_email) {
- // at least 1 invalid email
- return '';
- } else {
- // all good
- return v;
- }
- }
-
frappe.call({
method:"frappe.client.get_value",
args:{
diff --git a/erpnext/patches/v10_0/add_non_profit_domain.py b/erpnext/patches/v10_0/add_non_profit_domain.py
index 52f6f6c..ff673c5 100644
--- a/erpnext/patches/v10_0/add_non_profit_domain.py
+++ b/erpnext/patches/v10_0/add_non_profit_domain.py
@@ -3,7 +3,6 @@
from __future__ import unicode_literals
import frappe
-from frappe import _
def execute():
domain = 'Non Profit'
diff --git a/erpnext/templates/pages/non_profit/join_chapter.py b/erpnext/templates/pages/non_profit/join_chapter.py
index bc9ba6b..78ef053 100644
--- a/erpnext/templates/pages/non_profit/join_chapter.py
+++ b/erpnext/templates/pages/non_profit/join_chapter.py
@@ -11,7 +11,7 @@
pass
elif frappe.request.method=='POST':
chapter.append('members', dict(
- user=frappe.session.user,
+ user=frappe.session.user,
introduction=frappe.form_dict.introduction,
website_url=frappe.form_dict.website_url,
enabled=1