[FIX] none repeat type
bzr revid: tfr@openerp.com-20101220103240-vmzmvdhpttxp722x
This commit is contained in:
parent
fd72b6e57d
commit
b106119a0d
|
@ -1338,13 +1338,10 @@ e.g.: Every other month on the last Sunday of the month for 10 occurrences:\
|
|||
weekstring = ''
|
||||
monthstring = ''
|
||||
yearstring = ''
|
||||
freq=''
|
||||
if freq == 'None':
|
||||
freq=datas.get('rrule_type')
|
||||
if freq == 'none':
|
||||
return ''
|
||||
if datas.get('rrule_type')=='daily_working':
|
||||
freq ='weekly'
|
||||
else:
|
||||
freq=datas.get('rrule_type')
|
||||
|
||||
interval_srting = datas.get('interval') and (';INTERVAL=' + str(datas.get('interval'))) or ''
|
||||
|
||||
if freq == 'weekly':
|
||||
|
|
|
@ -174,7 +174,7 @@
|
|||
|
||||
<separator string="End of recurrency" colspan="4"/>
|
||||
<field name="count" attrs="{'readonly': [('end_date','!=',False)]}"/>
|
||||
<label string=" times" colspan="2" />
|
||||
<label string=" " colspan="2" />
|
||||
<newline />
|
||||
<field name="end_date" attrs="{'readonly': [('count','!=',False)]}"/>
|
||||
<newline />
|
||||
|
|
Loading…
Reference in New Issue