fix: accounts receivable / payable not working if the company is not seletced in filter

This commit is contained in:
Rohit Waghchaure
2019-07-01 11:54:11 +05:30
parent 2d0fd9f519
commit 2fa6224f8f
3 changed files with 7 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ frappe.query_reports["Accounts Payable"] = {
"label": __("Company"),
"fieldtype": "Link",
"options": "Company",
"reqd": 1,
"default": frappe.defaults.get_user_default("Company")
},
{