createLeaveAllocations
Create a new leave allocation in Odoo for one or more employees at once. Produces one independent leave allocation record per employee in employeeIds.
Requires authorization features: employee:leave:edit
createLeaveAllocations(
input: CreateLeaveAllocationsInput!
): [LeaveAllocation!]!
Directives
auth
Requires authorization features: employee:leave:edit
Arguments
createLeaveAllocations.input ● CreateLeaveAllocationsInput! non-null input
Type
LeaveAllocation object
Represents a leave allocation object in Odoo