From f87524a2575df95e33c703df0de0f887c80e74d2 Mon Sep 17 00:00:00 2001 From: Kersten Jeremy Date: Tue, 25 Feb 2014 22:31:21 +0100 Subject: [PATCH] [FIX] Set event from hr_holiday with a class confidential by default. bzr revid: jke@openerp.com-20140225213121-hyz46xpsiqtao18o --- addons/hr_holidays/hr_holidays.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/hr_holidays/hr_holidays.py b/addons/hr_holidays/hr_holidays.py index f7fa6a7e47d..932a290b4a1 100644 --- a/addons/hr_holidays/hr_holidays.py +++ b/addons/hr_holidays/hr_holidays.py @@ -370,7 +370,8 @@ class hr_holidays(osv.osv): 'date': record.date_from, 'end_date': record.date_to, 'date_deadline': record.date_to, - 'state': 'open', # to block that meeting date in the calendar + 'state': 'open', # to block that meeting date in the calendar + 'class': 'confidential' } #Add the partner_id (if exist) as an attendee if record.user_id and record.user_id.partner_id: