#2190 hotfix, item page
This commit is contained in:
parent
a844fb78bb
commit
ac0c3fb696
@ -47,7 +47,7 @@ cur_frm.cscript.make_dashboard = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cur_frm.cscript.edit_prices_button = function() {
|
cur_frm.cscript.edit_prices_button = function() {
|
||||||
cur_frm.add_custom_button(__("Add / Edit Prices)", function() {
|
cur_frm.add_custom_button(__("Add / Edit Prices"), function() {
|
||||||
frappe.set_route("Report", "Item Price", {"item_code": cur_frm.doc.name});
|
frappe.set_route("Report", "Item Price", {"item_code": cur_frm.doc.name});
|
||||||
}, "icon-money");
|
}, "icon-money");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user