Hi All
actually i have created custom button so on click on button should move to script report i don't know how to do
Please suggest me
Regards
Eliyas
Hi All
actually i have created custom button so on click on button should move to script report i don't know how to do
Please suggest me
Regards
Eliyas
cur_frm.add_custom_button(__("Stock Ledger"), function() {
frappe.route_options = {
voucher_no: me.frm.doc.name,
from_date: me.frm.doc.posting_date,
to_date: me.frm.doc.posting_date,
company: me.frm.doc.company
};
frappe.set_route("query-report", "Stock Ledger");
}, __("View"));