1. Connection & Login
Set your local API base (Flask) and login with an Odoo employee barcode.
(no token)
2. Profile, Orgchart & Payslips
Use the token to fetch your employee profile, org structure and payslips.
3. Payroll Helpdesk Ticket
Creates a ticket on the Payroll-helpdesk team for the logged-in employee. Customer will be auto-linked when possible.
Any file will be uploaded as a binary
ir.attachment on the ticket.4. Leaves & Time Off
First, fetch leave types and your allocations. Then submit a time-off request.
Uses your company + employee
Request Time Off
Body for POST /api/leaves/request:
{ leave_type_id, date_from, date_to, half_day, half_day_type, description }
Yes, this request is half-day
Response
Last request:
—
(no response yet)