commit
4e6853fefe
|
|
@ -256,6 +256,7 @@ class HrOfficialMissionController(http.Controller):
|
|||
# Prepare the response
|
||||
|
||||
mission_type = kw.get('mission_type')
|
||||
mission_purpose = kw.get('mission_purpose','')
|
||||
date_from = kw.get('date_from')
|
||||
date_to = kw.get('date_to')
|
||||
hour_from = kw.get('hour_from', 8)
|
||||
|
|
@ -280,6 +281,7 @@ class HrOfficialMissionController(http.Controller):
|
|||
'destination': int(destination_type),
|
||||
'employee_id': employee.id,
|
||||
'process_type': 'especially_hours',
|
||||
'mission_purpose':mission_purpose
|
||||
})
|
||||
|
||||
request.env['hr.official.mission.employee'].sudo().create({
|
||||
|
|
|
|||
Loading…
Reference in New Issue