Add Finance Book to route options

This commit is contained in:
Shreya 2018-05-16 17:30:35 +05:30
parent adc5b128b6
commit df9516e906

View File

@ -17,7 +17,8 @@ frappe.ui.form.on("Journal Entry", {
"from_date": frm.doc.posting_date, "from_date": frm.doc.posting_date,
"to_date": frm.doc.posting_date, "to_date": frm.doc.posting_date,
"company": frm.doc.company, "company": frm.doc.company,
group_by_voucher: 0 "finance_book": frm.doc.finance_book,
"group_by_voucher": 0
}; };
frappe.set_route("query-report", "General Ledger"); frappe.set_route("query-report", "General Ledger");
}, "fa fa-table"); }, "fa fa-table");