mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 04:28:27 +00:00
[fix] [minor] renamed edit prices button from price list and item
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user