| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Employees (hr)
• Time Off (hr_holidays) • Discuss (mail) • Calendar (calendar) |
| Lines of code | 967 |
| Technical Name |
statutory_leave_pack_se |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Employees (hr)
• Time Off (hr_holidays) • Discuss (mail) • Calendar (calendar) |
| Lines of code | 967 |
| Technical Name |
statutory_leave_pack_se |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
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
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module