Added finance book filter in accounts_receivable.js
This commit is contained in:
parent
cddda8ac5f
commit
70ac2d2c51
@ -10,6 +10,20 @@ frappe.query_reports["Accounts Receivable"] = {
|
||||
"options": "Company",
|
||||
"default": frappe.defaults.get_user_default("Company")
|
||||
},
|
||||
{
|
||||
"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":"customer",
|
||||
"label": __("Customer"),
|
||||
|
Loading…
Reference in New Issue
Block a user