[MERGE] typo meeting

bzr revid: fp@tinyerp.com-20120929090352-n9n8r9cqqzlx60ci
This commit is contained in:
Fabien Pinckaers 2012-09-29 11:03:52 +02:00
commit 5f9dc5a75e
1 changed files with 2 additions and 2 deletions

View File

@ -971,8 +971,8 @@ class calendar_event(osv.osv):
event = datas['id']
if datas.get('interval', 0) < 0:
raise osv.except_osv(_('Warning!'), _('Interval cannot be negative.'))
if datas.get('count', 0) < 0:
raise osv.except_osv(_('Warning!'), _('Count cannot be negative.'))
if datas.get('count', 0) <= 0:
raise osv.except_osv(_('Warning!'), _('Count cannot be negative or 0.'))
if datas['recurrency']:
result[event] = self.compute_rule_string(datas)
else: