From 78619253d2189f1c747f9dc07818ceedc5cd8d22 Mon Sep 17 00:00:00 2001 From: "Nimesh Contractor (OpenERP)" Date: Fri, 21 Jun 2013 11:53:45 +0530 Subject: [PATCH] [IMP] set ids. bzr revid: nco@tinyerp.com-20130621062345-4aqhvuzxn6godrym --- addons/base_calendar/base_calendar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index 30d5e7f4f88..6a0ed583684 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -587,7 +587,7 @@ property or property parameter."), """ if context is None: context = {} - return self.write(cr, uid, vals.id, {'state': 'accepted'}, context) + return self.write(cr, uid, ids, {'state': 'accepted'}, context) def do_decline(self, cr, uid, ids, context=None, *args): """