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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user