[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
|
@ -370,7 +370,8 @@ class hr_holidays(osv.osv):
|
||||||
'date': record.date_from,
|
'date': record.date_from,
|
||||||
'end_date': record.date_to,
|
'end_date': record.date_to,
|
||||||
'date_deadline': 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
|
#Add the partner_id (if exist) as an attendee
|
||||||
if record.user_id and record.user_id.partner_id:
|
if record.user_id and record.user_id.partner_id:
|
||||||
|
|
Loading…
Reference in New Issue