By default, all filters must be "By Date" and not "By Date and Period"

bzr revid: patelamit2003@gmail.com-20081020133939-g74dp83d8z2lzxag
This commit is contained in:
apa-tiny 2008-10-20 19:09:39 +05:30
parent 8b0e3d3e9b
commit c518c420dd
2 changed files with 2 additions and 2 deletions

View File

@ -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',

View File

@ -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',