Leave
The Leave module decides who can be away, for how long and with what pay. It holds each person's leave balances, takes their requests, sends them to the right approver and keeps a record of every day that was added or taken. Attendance and Payroll read from it, so an approved leave shows up there too. Open it from Leave in the sidebar.
About these pages
Written for Horilla 2.4.0. The screenshots come from a demo company, "Lakeside Works Inc.", with 35 employees. We added sample records where a detail view needed to show every option, for example the Executive Leave type. Where something was read from the product code but not run, the text says so.
What is new in 2.4.0
If you used an older version or the older leave guide, these are the changes you will notice first.
- A Leave Ledger explains every balance. It lists where each day came from, where it went and what is coming up.
- Forecasted leave. A request is judged against the balance on the day the leave ends, so someone can book January leave in December, before the balance resets.
- Missed resets can be caught up. A reset that did not run shows a red dot, and HR can run it for one person or for a whole leave type.
- Cancelling approved leave is a request. The employee asks, a manager approves or rejects, and the leave stays in force until then.
- Leave types have a two-step form with a custom pay percentage, carryforward that expires, and eligibility conditions.
- One dashboard for HR. The employee leave dashboard is gone. Employees start from My Leave Requests.
- Allocation, compensatory leave, weekly off days and leave rules now have their own sections here.
- Leave clashes and penalties show on the request list, and multi-step approvals show their progress.
How the module is laid out
Open Leave in the sidebar. The submenus are:
| Submenu | What it is for | Who sees it |
|---|---|---|
| Dashboard | Pending requests, who is out and usage charts | People with view leave request permission |
| My Leave Requests | Your balances, your requests and the Apply form | Everyone |
| Compensatory Leave Requests | Claim leave for work done on a day off | When compensatory leave is switched on (needs the Attendance module) |
| Leave Requests | Everyone's requests, approvals and cancellations | Permission holders, reporting managers and approvers |
| Leave Allocation Request | Ask for extra days on a balance | Everyone (the second tab is for managers and HR) |
| Leave Balances | Every employee's balances and the ledger | View leave balance permission, or reporting managers |
| Restricted Leave Periods | Dates when leave cannot be requested | View restricted leave permission |
| Public Holidays | The company holiday calendar | Everyone |
| Weekly Off Days | Repeating days off such as Sunday | Opens in Settings → Organization |
| Configuration | Leave types and multiple approval rules | View leave type permission |
A few words are used all through the module:
- Leave type is a kind of leave, such as Sick Leave or Annual Leave, with its own rules.
- Balance is how many days one employee has of one leave type.
- Carryforward means unused days kept for the next period.
- Reset means the balance goes back to the leave type's allowance on a schedule.
- Reporting manager is the manager of the employee, the person they report to. Leave requests go to them for approval unless an approval rule says otherwise.
Pages in this chapter
| Page | Where | What it is for |
|---|---|---|
| Leave Dashboard | Leave → Dashboard | Company-wide leave figures and charts |
| My Leave Requests | Leave → My Leave Requests | Your own balances and requests, applying and cancelling |
| Leave Requests | Leave → Leave Requests | Everyone's requests, approvals, penalties and cancellations |
| Forecasted Leave | Leave → My Leave Requests and Leave Requests | Booking leave against a balance that has not reset yet |
| Leave Balances | Leave → Leave Balances | Every employee's balances, assigning leave types |
| The Leave Ledger and Resets | Leave → Leave Balances → Leave Ledger icon | Why a balance is what it is, and how resets run |
| Leave Allocation Request | Leave → Leave Allocation Request | Asking for extra days on a balance |
| Compensatory Leave Requests | Leave → Compensatory Leave Requests | Claiming leave for work done on a day off |
| Restricted Leave Periods | Leave → Restricted Leave Periods | Blocking leave requests over a date range |
| Public Holidays | Leave → Public Holidays | The company holiday calendar |
| Leave Configuration | Leave → Configuration | Leave types and multiple approval rules |
| Leave Rules | Settings → Leave → Leave Rules | Compensatory leave and past-date requests |
| Weekly Off Days | Settings → Organization → Weekly Off Days | Repeating days off such as every Sunday |
| Frequently Asked Questions | Short answers to common leave questions |
Set up before you start
- Leave types, in Configuration.
- Weekly off days, in Settings → Organization → Weekly Off Days. See Weekly Off Days.
- Employees and their reporting managers, from Employee.
Common tasks
- Approve a leave request
- Create a leave request for an employee
- Set up leave types and carry forward
- Assign leave to employees
Help articles
- Why does a leave request count the weekend as leave days?
- Why can an employee request more leave days than the balance?
Things that happen automatically
- Resets and expiries. A background job runs every four hours and applies each balance's reset and carryforward expiry when due.
- Notifications. Employees are told when a balance is assigned or edited and when an allocation or compensatory request is decided. Approvers are told when a request needs them, including the next step in a chain.
- Emails. Approvals, rejections and cancellation decisions are also sent by email.
- Auto-approval. A leave type that needs no approval is approved and deducted the moment the request is saved.
- Attendance. Approved leave shows in attendance. A leave with a pending cancellation still counts as leave there.
The reset job needs Horilla's scheduler process to be running.
Who can do what
Most actions are allowed either by a permission or by being the right manager.
| Action | Needs |
|---|---|
| See the Leave Dashboard | View leave request |
| Apply for your own leave, ask to cancel | Everyone |
| See and act on others' requests | View leave request, or being their reporting manager or an approver |
| Approve, reject, bulk approve or reject | Change leave request, or being the manager or approver. Never your own request unless you are a superuser. |
| Add a request for someone else | Add leave request, or being their manager |
| Record a penalty | Being the manager, or change penalty accounts |
| See Leave Balances | View leave balance, or being a reporting manager |
| Assign, import or create balances | Add leave balance |
| Edit a balance, run a missed reset for one person | Change leave balance |
| Run missed resets for a leave type | Change leave type |
| Create, edit or delete leave types and approval rules | The matching add, change or delete permission |
| Restricted Leave Periods | View restricted leave to see, add to change |
| Leave Rules | Add restricted leave, or view attendance validation condition |
| Compensatory Leave Requests | Attendance installed and the switch on |
Seen when testing
These were checked earlier with four sample users: Maya Chen (administrator), Daniel Okafor (HR Manager), Sofia Rossi (engineering manager, no extra permission) and Ravi Menon (developer).
- A reporting manager without view leave request still gets Leave Requests and sees only their team (Sofia saw three of five requests; Maya and Daniel saw all five).
- Ravi has no Leave Requests item. Opening its address sends him to My Dashboard.
- Sofia and Ravi have no Dashboard item under Leave. Sofia opening
/leave/dashboard/lands silently on the main Dashboard. - Sofia and Ravi see "You Don't Have Permission" if they open Configuration by address.
