Bank Reconciliation Statement: Show balance in debit or credit column based on account type

This commit is contained in:
Nabin Hait
2014-01-13 12:24:27 +05:30
parent 38e56eeb45
commit 35a9d585b4
2 changed files with 26 additions and 31 deletions

View File

@@ -8,6 +8,7 @@ wn.query_reports["Bank Reconciliation Statement"] = {
"label": wn._("Bank Account"),
"fieldtype": "Link",
"options": "Account",
"reqd": 1,
"get_query": function() {
return {
"query": "accounts.utils.get_account_list",
@@ -22,7 +23,8 @@ wn.query_reports["Bank Reconciliation Statement"] = {
"fieldname":"report_date",
"label": wn._("Date"),
"fieldtype": "Date",
"default": get_today()
"default": get_today(),
"reqd": 1
},
]
}