From c518c420ddf2ecca7f232e6ae2a9776530480911 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Mon, 20 Oct 2008 19:09:39 +0530 Subject: [PATCH] By default, all filters must be "By Date" and not "By Date and Period" bzr revid: patelamit2003@gmail.com-20081020133939-g74dp83d8z2lzxag --- addons/account/wizard/wizard_partner_balance_report.py | 2 +- addons/account/wizard/wizard_third_party_ledger.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/wizard/wizard_partner_balance_report.py b/addons/account/wizard/wizard_partner_balance_report.py index d90a68a99f0..5b28e10ceb9 100644 --- a/addons/account/wizard/wizard_partner_balance_report.py +++ b/addons/account/wizard/wizard_partner_balance_report.py @@ -59,7 +59,7 @@ period_fields = { 'string':"Date/Period Filter", 'type':'selection', 'selection':[('bydate','By Date'),('byperiod','By Period'),('all','By Date and Period'),('none','No Filter')], - 'default': lambda *a:'all' + 'default': lambda *a:'bydate' }, 'fiscalyear': { 'string':'Fiscal year', 'type': 'many2one', 'relation': 'account.fiscalyear', diff --git a/addons/account/wizard/wizard_third_party_ledger.py b/addons/account/wizard/wizard_third_party_ledger.py index 7a638f3d0db..4cabe4792b2 100755 --- a/addons/account/wizard/wizard_third_party_ledger.py +++ b/addons/account/wizard/wizard_third_party_ledger.py @@ -65,7 +65,7 @@ period_fields = { 'string':"Date/Period Filter", 'type':'selection', 'selection':[('bydate','By Date'),('byperiod','By Period'),('all','By Date and Period'),('none','No Filter')], - 'default': lambda *a:'all' + 'default': lambda *a:'bydate' }, 'fiscalyear': { 'string':'Fiscal year', 'type': 'many2one', 'relation': 'account.fiscalyear',