[script report] bank reconciliation statement in new style

This commit is contained in:
Nabin Hait
2013-05-01 11:23:44 +05:30
parent 84e2af2212
commit 76646fb279
5 changed files with 115 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
wn.query_reports["Bank Reconciliation Statement"] = {
"filters": [
{
"fieldname":"account",
"label": "Bank Account",
"fieldtype": "Link",
"options": "Account",
"get_query": function() {
return {
"query": "accounts.utils.get_account_list",
"filters": {
"is_pl_account": "No",
"account_type": "Bank or Cash"
}
}
}
},
{
"fieldname":"report_date",
"label": "Date",
"fieldtype": "Date",
"default": get_today()
},
]
}