Demo

Illustrative example - not a client. All companies, people and numbers are made up.

Time off.

A request for days off becomes an answer, a new balance and fewer hours in the capacity plan. Odoo checks the balance when the request is saved, code checks the skills and hours left at work, the head decides, and a refusal always carries a reason and another date.

Company
Demo Manufacturer LLC and Demo Manufacturer US Inc.
Starts when
An employee asks for time off
How often
Any working day, one run per request
Select a step to open its card. The table below lists every step in order.

Steps

Steps in order

#StepDone byToleranceRollout stage
1Employee asks for days off EmployeeNot above the balance and 1 more6
2Code checks cover and dates Time off checks · Automation, no AIAt least one other person with each skill of the post at work every day and 5 more6
3Production manager decides Production managerNone - the person decides and 1 more6
4Office manager tells reason and date Office managerThe reason names a check or the head's sentence and 1 more6
5Code books the days Time off booking · Automation, no AIDays and dates exact and 1 more6

Rollout stage: 6 · Month-end close and approvals.

Before

How it was done before

Requests came by letter or in a corridor, the office manager wrote them into a Google Sheet, and the US company asked the Ukrainian office by email. Nobody looked at the production plan.

Where it breaks without control

  • Both people who can balance propellers are off in the week of the largest order.
  • An employee cancels approved days in Odoo, and neither the capacity plan nor the pay learns of it.
  • The kind of leave or the reason typed by the person appears in a calendar that everybody reads.

Controls

What is checked, and who signs

Checks

StepCompared withToleranceOn a difference
1 · Employee asks for days offDays asked against the balance, which also counts requests still waiting, and against the person's other requestsNot above the balance; no day asked twiceOdoo does not save a request without enough balance or on top of another one and says why. The employee changes the days or the kind, or asks the office manager to check the balance. Nobody files a request for another person except the office manager, with the reason in the record.
2 · Code checks cover and datesDays asked against other people's days off by skill, against the hours planned that week, against hours recorded, against the dates of the contract and the papers of the kindAt least one other person with each skill of the post at work every day; in production, planned hours not above the hours left at the work centre; no hour recorded on a day asked; days inside first and last working day; unpaid days inside the yearly limit; paper attached where the kind needs itCode refuses nothing. The request goes to the head with the failed check in plain words and the dates that would pass. A request for past days with hours recorded on them also goes to the office manager, so that either the hours or the leave is removed before pay.
3 · Production manager decidesThe request against the failed checks and the orders due that weekNone - the person decides; an answer within 2 working daysA request with a failed check can be approved only with a written reason, which the capacity plan shows. Nobody decides on their own request - the head's goes to the owner. Odoo would let the office manager, as its time off officer, approve any request; our module leaves the answer to the head. A request without an answer after 2 working days is shown to the owner.
4 · Office manager tells reason and dateThe reason against the checks and the head's sentence; each date offered against the checks of todayThe reason names a check or the head's sentence; every date offered passes all checksA refusal without a reason goes back to the head and stays on the office manager's list. A date that no longer passes is replaced. Choosing one of the dates is a new request in step 1.
5 · Code books the daysBalance before less the days approved against the balance now; dates of the calendar event and hours taken out of the plan against the requestDays and dates exact; hours exactThe request waits in the exception queue of the office manager. Odoo lets a person cancel approved days that lie ahead, so a cancellation runs this step backwards - event removed, hours given back, the head told. A change to days that pay has already used is listed for the next period, never written into a closed one. The kind of leave is open to the head, the owner, the office manager and the accountant only.

Duties by role

What the action log records

StepRecordWhat is written
2 · Code checks cover and datesAgent action logOne line per check result
5 · Code books the daysAgent action logOne line per change

Connected processes

Where the work comes from and where it goes

Work goes to

ProcessWhat passesAt step
Production capacity planHours not available, by week and work centreCode books the days
Monthly payrollApproved days by person and kind, and each later changeCode books the days

Work comes from

ProcessWhat passesAt step
Joining and leavingAn opening balance, or the days left on the last dayCode writes the record and the tasks

Back to the diagramShow it on the process map

Want this process checked on your data?

Tell us where it goes wrong.

Write to us about this process