From cd80d86dbb0d73ef7b09096720a8fa91f3114a55 Mon Sep 17 00:00:00 2001 From: Akhilesh Darjee Date: Fri, 18 Oct 2013 15:35:13 +0530 Subject: [PATCH] [fix] [minor] renamed edit prices button from price list and item --- setup/doctype/price_list/price_list.js | 2 +- stock/doctype/item/item.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/doctype/price_list/price_list.js b/setup/doctype/price_list/price_list.js index 1f0693497d..84c4c2f957 100644 --- a/setup/doctype/price_list/price_list.js +++ b/setup/doctype/price_list/price_list.js @@ -7,7 +7,7 @@ $.extend(cur_frm.cscript, { }, refresh: function() { - cur_frm.add_custom_button("Edit Prices", function() { + cur_frm.add_custom_button("Add / Edit Prices", function() { wn.route_options = { "price_list": cur_frm.doc.name }; diff --git a/stock/doctype/item/item.js b/stock/doctype/item/item.js index 8ea4cd21ea..ecd46125a5 100644 --- a/stock/doctype/item/item.js +++ b/stock/doctype/item/item.js @@ -30,7 +30,7 @@ cur_frm.cscript.make_dashboard = function() { } cur_frm.cscript.edit_prices_button = function() { - cur_frm.add_custom_button("Edit Prices", function() { + cur_frm.add_custom_button("Add / Edit Prices", function() { wn.route_options = { "item_code": cur_frm.doc.name };