Merge pull request #30453 from rahib-hassan/fix-paymentorder-row-delete

fix: enable row deletion in reference table
This commit is contained in:
Saqib Ansari
2022-03-30 15:00:16 +05:30
committed by Nabin Hait
5 changed files with 64 additions and 14 deletions

View File

@@ -53,6 +53,22 @@ frappe.query_reports["Accounts Payable"] = {
}
}
},
{
"fieldname": "party_account",
"label": __("Payable Account"),
"fieldtype": "Link",
"options": "Account",
get_query: () => {
var company = frappe.query_report.get_filter_value('company');
return {
filters: {
'company': company,
'account_type': 'Payable',
'is_group': 0
}
};
}
},
{
"fieldname": "ageing_based_on",
"label": __("Ageing Based On"),