[reports] general ledger: grid report to script report

This commit is contained in:
Nabin Hait
2013-12-17 16:09:21 +05:30
parent ea4f66791e
commit 57e89ff6f1
5 changed files with 55 additions and 23 deletions

View File

@@ -22,6 +22,12 @@ wn.query_reports["General Ledger"] = {
"label": wn._("Voucher No"),
"fieldtype": "Data",
},
{
"fieldname":"group_by",
"label": wn._("Group by"),
"fieldtype": "Select",
"options": "\nGroup by Account\nGroup by Voucher"
},
{
"fieldtype": "Break",
},
@@ -40,12 +46,6 @@ wn.query_reports["General Ledger"] = {
"default": wn.datetime.get_today(),
"reqd": 1,
"width": "60px"
},
{
"fieldname":"group_by",
"label": wn._("Group by"),
"fieldtype": "Select",
"options": "\nAccount\nVoucher"
}
]
}