From 2989254e134c0efd8265d710ce402e27bd1ea1c6 Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Mon, 18 Jan 2010 12:31:27 +0530 Subject: [PATCH] [FIX]: crm(meeting): Fixed problem of unlink meeting bzr revid: rpa@openerp.co.in-20100118070127-2g95ip2g0jct4ssv --- addons/crm/crm_meeting.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/addons/crm/crm_meeting.py b/addons/crm/crm_meeting.py index 848b8d819fa..bd93721be59 100644 --- a/addons/crm/crm_meeting.py +++ b/addons/crm/crm_meeting.py @@ -369,11 +369,13 @@ rule or repeating pattern for anexception to a recurrence set"), else: ids = map(lambda x: common.caldav_id2real_id(x), ids) res = super(crm_meeting, self).unlink(cr, uid, common.caldav_id2real_id(ids)) - self.do_alarm_unlink(cr, uid, ids) + alarm_obj = self.pool.get('res.alarm') + alarm_obj.do_alarm_unlink(cr, uid, ids, self._name) else: ids = map(lambda x: common.caldav_id2real_id(x), ids) res = super(crm_meeting, self).unlink(cr, uid, ids) - self.do_alarm_unlink(cr, uid, ids) + alarm_obj = self.pool.get('res.alarm') + alarm_obj.do_alarm_unlink(cr, uid, ids, self._name) return res def create(self, cr, uid, vals, context={}):