[minor] [fix] in Item > Add / Edit Prices, go to list view instead of report, fixes #4639
This commit is contained in:
parent
31608a82f8
commit
c978b9c36a
@ -192,7 +192,7 @@ $.extend(erpnext.item, {
|
||||
|
||||
edit_prices_button: function(frm) {
|
||||
frm.add_custom_button(__("Add / Edit Prices"), function() {
|
||||
frappe.set_route("Report", "Item Price", {"item_code": frm.doc.name});
|
||||
frappe.set_route("List", "Item Price", {"item_code": frm.doc.name});
|
||||
}, __("View"));
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user