[FIX] Set event from hr_holiday with a class confidential by default.
bzr revid: jke@openerp.com-20140225213121-hyz46xpsiqtao18o
This commit is contained in:
parent
9a03a57120
commit
f87524a257
|
@ -371,6 +371,7 @@ class hr_holidays(osv.osv):
|
|||
'end_date': record.date_to,
|
||||
'date_deadline': record.date_to,
|
||||
'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:
|
||||
|
|
Loading…
Reference in New Issue