From a8a2fb225dc5995e095b36861a698b4ed6a079e5 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 25 Feb 2015 17:32:22 +0530 Subject: [PATCH] [fixes] item, test site install --- erpnext/stock/doctype/item/item.js | 2 +- test_sites/test_site/site_config.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/erpnext/stock/doctype/item/item.js b/erpnext/stock/doctype/item/item.js index df1589172a..eec8ec2137 100644 --- a/erpnext/stock/doctype/item/item.js +++ b/erpnext/stock/doctype/item/item.js @@ -89,7 +89,7 @@ frappe.ui.form.on("Item", { refresh_field("image_view"); }, - page_name: frappe.utils.warn_page_name_change + page_name: frappe.utils.warn_page_name_change, item_code: function(frm) { if(!frm.doc.item_name) diff --git a/test_sites/test_site/site_config.json b/test_sites/test_site/site_config.json index 31a445b4a5..96f3446606 100644 --- a/test_sites/test_site/site_config.json +++ b/test_sites/test_site/site_config.json @@ -5,5 +5,6 @@ "auto_email_id": "admin@example.com", "host_name": "http://localhost:8888", "auto_email_id": "admin@example.com", - "mute_emails": 1 + "mute_emails": 1, + "install_apps": ["erpnext"] }