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"] }