create_timesheet
Create timesheet entries in Odoo by specifying project, hours worked, and work description to track employee time and project costs.
Instructions
Create a new timesheet entry.
Args:
project_id: Project ID
hours: Number of hours worked
description: Description of work done
task_id: Task ID (optional)
date_entry: Entry date in YYYY-MM-DD format (default: today)
Returns:
Confirmation with created entry ID
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": {
"project_id": "<project_id>",
"hours": "<hours>",
"description": "<description>"
},
"name": "create_timesheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| hours | Yes | ||
| description | Yes | ||
| task_id | No | ||
| date_entry | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |