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:
parent
8b0e3d3e9b
commit
c518c420dd
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue