[Fix] general ledger group by validation
This commit is contained in:
parent
26decaad6c
commit
4110e00b2d
@ -46,6 +46,9 @@ frappe.query_reports["General Ledger"] = {
|
|||||||
"fieldname":"voucher_no",
|
"fieldname":"voucher_no",
|
||||||
"label": __("Voucher No"),
|
"label": __("Voucher No"),
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
|
on_change: function() {
|
||||||
|
frappe.query_report_filters_by_name.group_by.set_value("");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname":"project",
|
"fieldname":"project",
|
||||||
@ -107,7 +110,7 @@ frappe.query_reports["General Ledger"] = {
|
|||||||
"fieldname":"group_by",
|
"fieldname":"group_by",
|
||||||
"label": __("Group by"),
|
"label": __("Group by"),
|
||||||
"fieldtype": "Select",
|
"fieldtype": "Select",
|
||||||
"options": ["Group by Voucher", "Group by Account", "Group by Party"],
|
"options": ["", "Group by Voucher", "Group by Account", "Group by Party"],
|
||||||
"default": "Group by Voucher"
|
"default": "Group by Voucher"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user