EmployeeAbsenceType
A type of absence defined in Odoo
type EmployeeAbsenceType {
abbreviation: String
backgroundColor: String
fontColor: String
holidayEntitlement: Boolean!
id: OdooID!
isActive: Boolean!
name: String!
requestUnit: RequestUnit!
timeType: AbsenceTimeType!
}
Fields
EmployeeAbsenceType.abbreviation ● String scalar
The absence abbreviation
EmployeeAbsenceType.backgroundColor ● String scalar
The background display color
EmployeeAbsenceType.fontColor ● String scalar
The font display color
EmployeeAbsenceType.holidayEntitlement ● Boolean! non-null scalar
Is there an entitlement defined in Odoo? (max. number of days that the employee can use this type of leave in a given timeframe)
EmployeeAbsenceType.id ● OdooID! non-null scalar
Unique identifier
EmployeeAbsenceType.isActive ● Boolean! non-null scalar
Is the template activated and could it be used in the shift plan?
EmployeeAbsenceType.name ● String! non-null scalar
Name of the absence type
EmployeeAbsenceType.requestUnit ● RequestUnit! non-null enum
The request unit of the leave coming from Odoo Can be either 'day', 'hour' or 'half_day'
EmployeeAbsenceType.timeType ● AbsenceTimeType! non-null enum
Type of the absence type (absent or worked time)
Returned By
createEmployeeAbsenceType mutation ● employeeAbsenceTypes query
Member Of
AbsenceSummary object ● DailyAttendanceSummary object