[FIX] Fixed problem with rrule.
bzr revid: nicolas.vanhoren@openerp.com-20110118235546-wwagvhi2el8qdtut
This commit is contained in:
@@ -1415,6 +1415,10 @@ e.g.: Every other month on the last Sunday of the month for 10 occurrences:\
|
||||
@param context: A standard dictionary for contextual values
|
||||
@return: True
|
||||
"""
|
||||
old_vals = self.read(cr, uid, ids, 'rrule', context)[0]
|
||||
if 'rrule' in vals and not vals['rrule'] and not old_vals['rrule']:
|
||||
del vals['rrule']
|
||||
|
||||
if context is None:
|
||||
context = {}
|
||||
if isinstance(ids, (str, int, long)):
|
||||
|
||||
Reference in New Issue
Block a user