approve_leave_allocation
Approve leave allocations by changing their status from draft or confirmed to validated in Odoo HR management.
Instructions
Approve a leave allocation (change state from draft/confirm to validate).
Args:
allocation_id: Allocation ID to approve
Returns:
Confirmation message
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"allocation_id": "<allocation_id>"
},
"name": "approve_leave_allocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| allocation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |