frappe/frappe#478
diff --git a/erpnext/setup/doctype/notification_control/notification_control.py b/erpnext/setup/doctype/notification_control/notification_control.py
index 8594856..87674ec 100644
--- a/erpnext/setup/doctype/notification_control/notification_control.py
+++ b/erpnext/setup/doctype/notification_control/notification_control.py
@@ -10,8 +10,6 @@
 from frappe.model.document import Document
 
 class NotificationControl(Document):
-
-
 	def get_message(self, arg):
 		fn = arg.lower().replace(' ', '_') + '_message'
 		v = frappe.db.sql("select value from tabSingles where field=%s and doctype=%s", (fn, 'Notification Control'))
diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js
index 6ee3922..0ae7e18 100644
--- a/erpnext/stock/doctype/stock_entry/stock_entry.js
+++ b/erpnext/stock/doctype/stock_entry/stock_entry.js
@@ -350,7 +350,7 @@
 			'cost_center'		: d.cost_center,
 			'company'		: cur_frm.doc.company
 		};
-		return get_server_fields('get_item_details', JSON.stringify(args), 
+		return get_server_fields('get_item_details', {arg: JSON.stringify(args)}, 
 			'mtn_details', doc, cdt, cdn, 1);
 	}