Fix: Set General Ledger 'Group By' filter as 'Group by Voucher(Consolidated)' when opened from Invoice (#21673)

* fix for issue #21419

* changing group by filter to default Group by Voucher (Consolidated)
This commit is contained in:
Afshan 2020-05-13 19:48:42 +05:30 committed by GitHub
parent 12a9328a63
commit bd7e535885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ frappe.query_reports["General Ledger"] = {
"label": __("Voucher No"),
"fieldtype": "Data",
on_change: function() {
frappe.query_report.set_filter_value('group_by', "");
frappe.query_report.set_filter_value('group_by', "Group by Voucher (Consolidated)");
}
},
{