[minor] [fix] in Item > Add / Edit Prices, go to list view instead of report, fixes #4639

This commit is contained in:
Rushabh Mehta 2016-01-19 16:34:33 +05:30
parent 31608a82f8
commit c978b9c36a

View File

@ -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"));
},