Sweden Statutory Vacation (Semesterlagen)
25-day entitlement, April-March vacation year, earning-year accrual, saved days and vacation pay for the Odoo Time Off engine
Sweden Leave Semesterlag is an add-on rule pack that teaches the Odoo Time Off engine the statutory annual-vacation rules of the Swedish Annual Leave Act (Semesterlagen, SFS 1977:480). It computes each employee's lawful 25-day entitlement, runs the April-to-March vacation year against the preceding earning year to derive the number of paid vacation days, applies the post-31-August five-day rule, evaluates saved-day validity, calculates vacation pay under both statutory methods, and generates the matching Time Off allocation - so HR never hand-calculates a Swedish vacation entitlement again. Built on the Community Human Resources and Time Off apps, no Enterprise payroll required. Compatible with Odoo 18 and Odoo 19.
25 vacation days (4 §)
Every employee has the right to 25 vacation days per vacation year. The pack assigns the statutory figure automatically and reduces it to five days when employment begins after 31 August of the vacation year, exactly as the act prescribes.
Vacation year & earning year (3 §)
The vacation year runs 1 April to 31 March; the immediately preceding twelve months are the earning year (intjänandeår). The pack derives both windows from a single year number and shows them on every record so the periods are never ambiguous.
Paid-day accrual (7 §)
The number of paid vacation days is accrued over the earning year: employed days minus wholly unpaid, non-earning absence, divided by the days in the earning year, times 25 - then rounded up to a whole day as the act requires. A new hire mid-earning-year therefore gets a correct, rounded paid-day count automatically.
Saved vacation (18 §)
Paid days exceeding 20 may be saved and taken within five years. The pack reports the savable days, rolls them forward in the batch wizard, and flags saved days that have passed the five-year expiry so nothing lapses unnoticed.
Vacation pay - both methods
Choose sammalöneregeln (current-salary rule, 16 a §): a 0.43 % of monthly salary supplement per paid day. Or procentregeln (16 b §): 12 % of the salary earned during the earning year. The pack computes the per-day and total figures for both, and a termination settlement for untaken paid and saved days.
Summer placement (12 §)
The act guarantees at least four consecutive weeks of vacation in June-August unless otherwise agreed. The pack exposes the summer window for the vacation year so HR can plan the main period within the statutory bounds.
What you get
| Feature | Statutory basis | Result |
|---|---|---|
| 25-day entitlement | 4 § | Automatic per employee / vacation year |
| Late-start five-day rule | 4 § | Applied when hired after 31 August |
| Vacation & earning year windows | 3 § | Derived 1 Apr-31 Mar with the prior earning year |
| Paid-day accrual, rounded up | 7 § | Pro-rata over earning year, whole days |
| Saved vacation over 20 days | 18 § | Five-year validity tracking, roll-forward |
| Semestertillägg 0.43 % | 16 a § | Per-day and total supplement |
| Procentregeln 12 % | 16 b § | Earning-year percentage vacation pay |
| Termination settlement | 16 a / 16 b § | Untaken paid + valid saved days |
| Time Off allocation | - | One-click generation for paid days |
| Batch generation | - | Whole company in one pass |
How it works
Fill the Swedish Vacation tab on the employee (hire date, optional leaving date, unpaid non-earning absence, salary). Run Generate Statutory Vacation for a year and the pack creates one entitlement record per employee with the full breakdown. Generate the Time Off allocation for the paid days in the same step or later.
Community-only & multi-company
Depends solely on the Community hr and hr_holidays apps - no Enterprise payroll. Company-level settings let you pick the leave type, the default vacation-pay method and whether saving is allowed. Multi-company and multi-currency aware.
Sweden Leave Semesterlag - the statutory Swedish vacation rules, computed correctly, inside Odoo Time Off. Odoo 18 & 19.
Screenshots
Generate Statutory Vacation
Statutory Vacation
Settings
Update date: 2026-07-02