Added finance book filter to General Ledger
This commit is contained in:
parent
a6d3cbfbc5
commit
460d96f16d
@ -11,6 +11,20 @@ frappe.query_reports["General Ledger"] = {
|
||||
"default": frappe.defaults.get_user_default("Company"),
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname":"finance_book",
|
||||
"label": __("Finance Book"),
|
||||
"fieldtype": "Link",
|
||||
"options": "Finance Book",
|
||||
"get_query": function() {
|
||||
var company = frappe.query_report_filters_by_name.company.get_value();
|
||||
return {
|
||||
"filters": {
|
||||
"company": company,
|
||||
}
|
||||
};
|
||||
}
|
||||
},
|
||||
{
|
||||
"fieldname":"from_date",
|
||||
"label": __("From Date"),
|
||||
|
Loading…
Reference in New Issue
Block a user