| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Employees (hr)
• Time Off (hr_holidays) • Discuss (mail) • Calendar (calendar) |
| Lines of code | 827 |
| Technical Name |
statutory_leave_pack_pl |
| 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 | 827 |
| Technical Name |
statutory_leave_pack_pl |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
Poland Statutory Leave (Kodeks pracy)
20/26-day tenure entitlement, education-period seniority, proportional leave, on-demand and disability supplement for the Odoo Time Off engine
Poland Leave Kodeks Pracy is an add-on rule pack that teaches the Odoo Time Off engine the statutory annual-leave rules of the Polish Labour Code (Kodeks pracy). It computes each employee's lawful entitlement from their leave-seniority period, applies the education-period credit, proportional and first-job accrual rules, the disability supplement and the on-demand allowance, then generates the matching Time Off allocation â so HR never hand-calculates a Polish leave entitlement again. Built on the Community Human Resources and Time Off apps, no Enterprise payroll required. Compatible with Odoo 18 and Odoo 19.
Art. 154 § 1 â 20 / 26 days by seniority
The basic annual entitlement is 20 working days for an employee with under ten years of leave-seniority, and 26 working days once ten years are reached. The pack tracks the boundary per employee and year and shows which figure applies.
Art. 155 § 1 â education-period credit
Completed schooling counts toward the leave-seniority period: basic vocational +3, secondary vocational +5, secondary general +4, post-secondary +6 and higher education +8 years. The figures never sum â only the highest counts â and Art. 155 § 2 takes the more favourable of work or study when they overlapped.
Art. 1551 â proportional leave
For an employee who joins or leaves during the year, the entitlement is pro-rated at one twelfth per calendar month; an incomplete month rounds up to a full month (Art. 1552a) and an incomplete leave day rounds up to a whole day (Art. 1553).
Art. 153 § 1 â first-ever job
In the year an employee takes up work for the very first time, leave is acquired at the end of each worked month in the amount of 1/12 of the full-year entitlement â modelled exactly, with no premature month round-up.
Art. 154 § 2 â disability supplement
An employee with a moderate or severe degree of disability receives ten additional working days of annual leave, added on top of the 20- or 26-day base entitlement.
Art. 1672 â leave on demand
Up to four days of the annual entitlement may be taken on demand (urlop na Å¼Ä danie). The pack exposes the on-demand pool per employee, capped at four days and never exceeding the employee's own entitlement.
What it does
| Provision | Implemented behaviour |
|---|---|
| Art. 154 § 1 | 20 working days below 10 years of leave-seniority, 26 days at/above 10 years. |
| Art. 154 § 2 | Ten extra days for moderate/severe disability. |
| Art. 155 § 1 | Education-period credit (+3/+5/+4/+6/+8 years), highest only, no summing. |
| Art. 155 § 2 | More-favourable rule when study overlapped employment. |
| Art. 153 § 1 | First-ever job: 1/12 per completed month in the starting year. |
| Art. 1551 / 1552a | Proportional leave for joiners/leavers, incomplete month rounded up. |
| Art. 1553 § 1 | Incomplete leave day rounded up to a full day. |
| Art. 1672 | On-demand allowance of up to 4 days per year. |
| Art. 168 / 171 | Carry-over of unused leave and termination settlement (ekwiwalent) day count. |
How it works
Set each employee's employment years, highest completed education, start date and â where relevant â disability or first-job status on the Polish Leave (Kodeks pracy) tab of the employee form. Run Polish Leave ⸠Generate Statutory Leave for a year and a set of employees; the pack creates one entitlement record per employee, shows the full breakdown (leave-seniority years, base figure, disability supplement, qualifying months, basis, rounded entitlement, on-demand pool, balance and settlement) and â on request â generates the matching Time Off allocation against the leave type you configured in Settings. The whole computation lives in a pure-Python engine that is fully unit tested.
Disclosure: this module computes statutory leave figures locally inside Odoo and creates Time Off allocations; it sends no data to any third party. The figures implement the published Kodeks pracy minima â always confirm against current law and any applicable company or collective agreement before relying on them for payroll.
Screenshots
Generate Statutory Leave
Statutory Leave
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