[FIX] hr_holidays: missing context

Closes #9386, opw-677958
This commit is contained in:
Martin Trigaux 2016-05-19 13:18:53 +02:00
parent 7c5275b6a1
commit e3523113e0
No known key found for this signature in database
GPG Key ID: 7B0E288E7C0F83A7
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@ class hr_holidays(osv.osv):
return True
def holidays_cancel(self, cr, uid, ids, context=None):
for record in self.browse(cr, uid, ids):
for record in self.browse(cr, uid, ids, context=context):
# Delete the meeting
if record.meeting_id:
record.meeting_id.unlink()