From df9516e9061994b0ee7b32d7c43bc274fd1f51f5 Mon Sep 17 00:00:00 2001 From: Shreya Date: Wed, 16 May 2018 17:30:35 +0530 Subject: [PATCH] Add Finance Book to route options --- erpnext/accounts/doctype/journal_entry/journal_entry.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.js b/erpnext/accounts/doctype/journal_entry/journal_entry.js index afa1ffed60..6ad1df52cd 100644 --- a/erpnext/accounts/doctype/journal_entry/journal_entry.js +++ b/erpnext/accounts/doctype/journal_entry/journal_entry.js @@ -17,7 +17,8 @@ frappe.ui.form.on("Journal Entry", { "from_date": frm.doc.posting_date, "to_date": frm.doc.posting_date, "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"); }, "fa fa-table");