Skip to main content

EmployeeAbsenceType

A type of absence defined in Odoo

type EmployeeAbsenceType {
abbreviation: String
backgroundColor: String
externalId: 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.externalId ● String scalar​

Identifies the absence type in a third-party system, for integrations to correlate it. Filled by the HR WORKS synchronisation in tenants connected to HR WORKS, otherwise entered once on creation. Unique per tenant, compared case-insensitively, archived types included. null when not set.

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​

AbsenceData object ● AbsenceSummary object ● DailyAttendanceSummary object ● LeaveAllocation object