[MERGE] [FIX] base_calendar: when computing the reccurency of an event, skip if no...
authorMartin Trigaux <mat@openerp.com>
Fri, 7 Mar 2014 15:36:10 +0000 (16:36 +0100)
committerMartin Trigaux <mat@openerp.com>
Fri, 7 Mar 2014 15:36:10 +0000 (16:36 +0100)
Fix the calendar view so that the recurrency period is editable when checking the 'recurrency' checkbox

bzr revid: mat@openerp.com-20140307153610-seud49l3oh1nq836

1  2 
addons/base_calendar/base_calendar.py
addons/base_calendar/base_calendar_view.xml

Simple merge
                      <page string="Recurrency Option" attrs="{'invisible': [('recurrency','=',False)]}">
                          <group col="4" colspan="4" name="rrule">
                              <group col="4" colspan="4">
--                                <field name="rrule_type" string="Recurrency period"
-                                    attrs="{'readonly':[('recurrent_id','!=',False)]}"/>
 -                                   attrs="{'readonly': [('recurrency','=',True)]}"/>
++                                <field name="rrule_type" string="Recurrency period" />
                                  <field name="interval"/>
                                  <separator string="End of Recurrence" colspan="4"/>
                                  <field name="end_type"/>