Time Off - Odoo 20 Community Book

Management: All Time Off

Management > Time Off lists the requests of everybody. The page opens with the filter Waiting For Me, so that an approver sees at once what needs an answer.

odoo Development

Remove the filter (click the cross in the search field) to see every request.

odoo Development

Columns. Employee, Time Type, Start Date, End Date, Duration and Status. The status is a colored label: green Approved, orange To Approve, red Refused.

Buttons in the line. A request that waits has Validate and Refuse. An approved request has Refuse. A refused request has Approve. One click changes the status at once. Refuse asks for no reason in a window. A validated request leaves the list Waiting For Me.

odoo Development

Status panel. At the left: All, To Approve, Refused and Approved. Click one to see only that status.

New. A new request for any employee (the form is in section 3.2).

New Group Time Off. Makes the same request for many employees at once (section 3.3).

Views. List, kanban, calendar and activity.

Click in the search box to open the panel.

odoo Development

Filters. Current Company, Waiting For Me (the requests that this user must answer), Missing Document (requests of types that need a document and have none), Status (a list of the statuses), Overtime Entries, Source Leaves, My Team, My Department, In Contract, Start Date (by month or year) and Custom Filter.

Group By. Employee, Type, Status and Date. Custom Group offers more fields.

Favorites. Save the current search under a name.

The Request Form

Click a line to open the request. The numbers on the picture are explained below.

odoo Development

Validate (1). Approves the request. The button shows for the people who may approve this time type.

Refuse (2). Refuses the request.

Status bar (3). To Approve and Approved. A refused request is shown with a Refused label.

Employee (4). The person who asks.

Time Type (5). The kind of time off.

Dates (6). The first and the last day.

Periods (7). For each date, Morning or Afternoon. Here the request starts in the morning of Dec 21 and ends in the afternoon of Dec 23, so it covers whole days.

Duration (8). The number of days that Odoo counts: 3.00 days. Odoo skips the weekends and the public holidays when the time type counts working days (section 6.1).

Description (9). The reason that the person wrote.

Calendar (10). A smart button that opens the calendar on these dates.

Planned activity (11). For an approver, Odoo plans a to-do on the chatter: Time Off Approval for Administrator, due in 24 days in this example. The chatter below it keeps the history: the creation, the status changes and the notices.

One thing to know. A request that is created by an approver is approved at once: the chatter of Olivia Hart says The time off has been automatically approved.

The button New opens an empty request form, with the status bar To Approve and Approved, the field Employee (it starts with the signed in user), the Time Type, the Dates with the buttons Full Day, Morning and Afternoon, and the Description. As in the window of section 2.1, Odoo picks the first time type of the list, and it shows the message about the supporting document.

odoo Development

New Group Time Off

odoo Development

The window Multiple Requests asks for the Employees (the default is All Employees), the Dates, the Time Type and a reason, for example Company unavailability. Click Generate Time Off to make one request per employee. It is the tool to close the showroom for a day.

WhatsApp