[FIX] Set event from hr_holiday with a class confidential by default.

bzr revid: jke@openerp.com-20140225213121-hyz46xpsiqtao18o
This commit is contained in:
Kersten Jeremy 2014-02-25 22:31:21 +01:00
parent 9a03a57120
commit f87524a257
1 changed files with 2 additions and 1 deletions

View File

@ -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: