modifs
[odoo/odoo.git] / addons / base_calendar / base_calendar.py
index 17202c3..3c99b7b 100644 (file)
@@ -562,7 +562,6 @@ are both optional, but if one occurs, so MUST the other"""),
                 cr.execute('Update %s set base_calendar_alarm_id=%s, alarm_id=%s \
                                         where id=%s' % (model_obj._table, \
                                         alarm_id, basic_alarm.id, data.id))
-        cr.commit()
         return True
 
     def do_alarm_unlink(self, cr, uid, ids, model, context={}):