CreateEmployeeAbsenceTypeInput
Create a new absence type in Odoo
input CreateEmployeeAbsenceTypeInput {
abbreviation: String
backgroundColor: String
fontColor: String
holidayEntitlement: Boolean!
name: String!
requestUnit: RequestUnit!
timeType: AbsenceTimeType!
}
Fields
CreateEmployeeAbsenceTypeInput.abbreviation ● String scalar
Abbreviation, which is shown in the shift plan overview
CreateEmployeeAbsenceTypeInput.backgroundColor ● String scalar
Background color when visualizing the element in the shift plan (as a hexadecimal number)
CreateEmployeeAbsenceTypeInput.fontColor ● String scalar
Font color when visualizing the element in the shift plan (as a hexadecimal number)
CreateEmployeeAbsenceTypeInput.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)
CreateEmployeeAbsenceTypeInput.name ● String! non-null scalar
Description of the shift
CreateEmployeeAbsenceTypeInput.requestUnit ● RequestUnit! non-null enum
The request unit of the leave coming from Odoo Can be either 'day', 'hour' or 'half_day'
CreateEmployeeAbsenceTypeInput.timeType ● AbsenceTimeType! non-null enum
Type of the absence type (absent or worked time)
Member Of
createEmployeeAbsenceType mutation