Initial commit: OCA Technical packages (595 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:03 +02:00
commit 2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions

View file

@ -0,0 +1,44 @@
# HR Holidays Public
Odoo addon: hr_holidays_public
## Installation
```bash
pip install odoo-bringout-oca-hr-holidays-hr_holidays_public
```
## Dependencies
This addon depends on:
- hr_holidays
## Manifest Information
- **Name**: HR Holidays Public
- **Version**: 16.0.2.0.5
- **Category**: Human Resources
- **License**: AGPL-3
- **Installable**: True
## Source
Based on [OCA/hr-holidays](https://github.com/OCA/hr-holidays) branch 16.0, addon `hr_holidays_public`.
## License
This package maintains the original AGPL-3 license from the upstream Odoo project.
## Documentation
- Overview: doc/OVERVIEW.md
- Architecture: doc/ARCHITECTURE.md
- Models: doc/MODELS.md
- Controllers: doc/CONTROLLERS.md
- Wizards: doc/WIZARDS.md
- Install: doc/INSTALL.md
- Usage: doc/USAGE.md
- Configuration: doc/CONFIGURATION.md
- Dependencies: doc/DEPENDENCIES.md
- Troubleshooting: doc/TROUBLESHOOTING.md
- FAQ: doc/FAQ.md

View file

@ -0,0 +1,32 @@
# Architecture
```mermaid
flowchart TD
U[Users] -->|HTTP| V[Views and QWeb Templates]
V --> C[Controllers]
V --> W[Wizards Transient Models]
C --> M[Models and ORM]
W --> M
M --> R[Reports]
DX[Data XML] --> M
S[Security ACLs and Groups] -. enforces .-> M
subgraph Hr_holidays_public Module - hr_holidays_public
direction LR
M:::layer
W:::layer
C:::layer
V:::layer
R:::layer
S:::layer
DX:::layer
end
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
```
Notes
- Views include tree/form/kanban templates and report templates.
- Controllers provide website/portal routes when present.
- Wizards are UI flows implemented with `models.TransientModel`.
- Data XML loads data/demo records; Security defines groups and access.

View file

@ -0,0 +1,3 @@
# Configuration
Refer to Odoo settings for hr_holidays_public. Configure related models, access rights, and options as needed.

View file

@ -0,0 +1,3 @@
# Controllers
This module does not define custom HTTP controllers.

View file

@ -0,0 +1,5 @@
# Dependencies
This addon depends on:
- [hr_holidays](../../odoo-bringout-oca-ocb-hr_holidays)

View file

@ -0,0 +1,4 @@
# FAQ
- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged).
- Q: How to enable? A: Start server with --addon hr_holidays_public or install in UI.

View file

@ -0,0 +1,7 @@
# Install
```bash
pip install odoo-bringout-oca-hr-holidays-hr_holidays_public"
# or
uv pip install odoo-bringout-oca-hr-holidays-hr_holidays_public"
```

View file

@ -0,0 +1,19 @@
# Models
Detected core models and extensions in hr_holidays_public.
```mermaid
classDiagram
class hr_holidays_public
class hr_holidays_public_line
class hr_employee_base
class hr_leave
class hr_leave_type
class resource_calendar
class res_partner
class res_users
```
Notes
- Classes show model technical names; fields omitted for brevity.
- Items listed under _inherit are extensions of existing models.

View file

@ -0,0 +1,6 @@
# Overview
Packaged Odoo addon: hr_holidays_public. Provides features documented in upstream Odoo 16 under this addon.
- Source: OCA/OCB 16.0, addon hr_holidays_public
- License: LGPL-3

View file

@ -0,0 +1,3 @@
# Reports
This module does not define custom reports.

View file

@ -0,0 +1,34 @@
# Security
Access control and security definitions in hr_holidays_public.
## Access Control Lists (ACLs)
Model access permissions defined in:
- **[ir.model.access.csv](../hr_holidays_public/security/ir.model.access.csv)**
- 5 model access rules
## Record Rules
Row-level security rules defined in:
```mermaid
graph TB
subgraph "Security Layers"
A[Users] --> B[Groups]
B --> C[Access Control Lists]
C --> D[Models]
B --> E[Record Rules]
E --> F[Individual Records]
end
```
Security files overview:
- **[ir.model.access.csv](../hr_holidays_public/security/ir.model.access.csv)**
- Model access permissions (CRUD rights)
Notes
- Access Control Lists define which groups can access which models
- Record Rules provide row-level security (filter records by user/group)
- Security groups organize users and define permission sets
- All security is enforced at the ORM level by Odoo

View file

@ -0,0 +1,5 @@
# Troubleshooting
- Ensure Python and Odoo environment matches repo guidance.
- Check database connectivity and logs if startup fails.
- Validate that dependent addons listed in DEPENDENCIES.md are installed.

View file

@ -0,0 +1,7 @@
# Usage
Start Odoo including this addon (from repo root):
```bash
python3 scripts/nix_odoo_web_server.py --db-name mydb --addon hr_holidays_public
```

View file

@ -0,0 +1,3 @@
# Wizards
This module does not include UI wizards.

View file

@ -0,0 +1,167 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association
==================
HR Holidays Public
==================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:62156f784ef56c34a7380db5d2243666137cb0e78b391a4418ceacb10e1c0b41
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr--holidays-lightgray.png?logo=github
:target: https://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_public
:alt: OCA/hr-holidays
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/hr-holidays-16-0/hr-holidays-16-0-hr_holidays_public
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/hr-holidays&target_branch=16.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
This module handles public holidays.
The calculation of each leave can exclude rest public holiday, depending on
the leave type configuration.
In HR holiday app, public holiday will be displayed as unusual days (grey like weekends).
**Table of contents**
.. contents::
:local:
Configuration
=============
Go to *Time Off -> Configuration -> Time Off Types* and open a Leave Type
* Check "Exclude Public Holidays" to exclude public holidays.
Usage
=====
For adding public holidays:
#. Go to the menu *Leaves > Public Holidays > Public Holidays*.
#. Create your public holidays.
For using public holidays on leaves:
#. Go to *Time Off > Dashboard*.
#. Select dragging on the calendar the days you want to be on leave, or go
to the form view for selecting start and end dates.
#. Select the proper "Leave Type" that has "Exclude Public Holidays" checked.
#. If no leave type is yet specified, then default configuration is to exclude
public holidays.
#. The number of days will be computed excluding public holidays that match the
selected employee, including global, country and state holidays.
#. If no employee is yet selected, only global holidays will be taken into
account.
In calendar views in HR holiday app public will be display
(likes other unusual days) according the current user employee country/state. If not set
the there is a fallback to the current company country/state to filter public holidays.
Known issues / Roadmap
======================
In Odoo 12.0, `_leave_intervals()` returns `Intervals` which is a list of
tuples (start_timestamp, end_timestamp, `resource.calendar.leaves` record).
Since this module does not operate with `resource.calendar.leaves`, it's
setting third component of a tuple to a `hr.holidays.public.line` record.
This may or may not be a problem, yet since this component is also being set to
`resource.calendar.attendance` records in `_attendance_intervals()`, seems it
should be ok.
There are no restrictions to block users from modifying or removing calendar
events linked to public holidays. There's a suggestion to overload `write` and
`unlink` methods of `calendar.event`, but it might have other impacts like
users not being able to edit event tags, or even custom fields.
Regional public holidays are shown in the public calendar. The regions will be
noted in the description of the event, but it'll be shown to all users. It'd
be good to have it show only for users in these regions.
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/hr-holidays/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/hr-holidays/issues/new?body=module:%20hr_holidays_public%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
Credits
=======
Authors
~~~~~~~
* Michael Telahun Makonnen
* Tecnativa
* Fekete Mihai (Forest and Biomass Services Romania)
* Druidoo
*
Contributors
~~~~~~~~~~~~
* Michael Telahun Makonnen <mmakonnen@gmail.com>
* Fekete Mihai <feketemihai@gmail.com>
* Nikolina Todorova <nikolina.todorova@initos.com>
* Alexis de Lattre <alexis.delattre@akretion.com>
* Salton Massally (iDT Labs) <smassally@idtlabs.sl>
* Ivan Yelizariev <yelizariev@it-projects.info>
* Bassirou Ndaw <b.ndaw@ergobit.org>
* Dhara Solanki <dhara.solanki@initos.com>
* `Tecnativa <https://www.tecnativa.com>`__:
* Pedro M. Baeza
* `CorporateHub <https://corporatehub.eu/>`__
* Alexey Pelykh <alexey.pelykh@corphub.eu>
* `Camptocamp <https://www.camptocamp.com>`__:
* Damien Crier <damien.crier@camptocamp.com>
* `Druidoo <https://www.druidoo.io>`__:
* Iván Todorovich <ivan.todorovich@gmail.com>
* `Pesol <https://www.pesol.es>`__:
* Pedro Evaristo Gonzalez Sanchez <pedro.gonzalez@pesol.es>
Maintainers
~~~~~~~~~~~
This module is maintained by the OCA.
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
This module is part of the `OCA/hr-holidays <https://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_public>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View file

@ -0,0 +1,4 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from . import models
from . import wizards

View file

@ -0,0 +1,26 @@
# Copyright 2015 2011,2013 Michael Telahun Makonnen <mmakonnen@gmail.com>
# Copyright 2020 InitOS Gmbh
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "HR Holidays Public",
"version": "16.0.2.0.5",
"license": "AGPL-3",
"category": "Human Resources",
"author": "Michael Telahun Makonnen, "
"Tecnativa, "
"Fekete Mihai (Forest and Biomass Services Romania), "
"Druidoo, "
"Odoo Community Association (OCA),",
"summary": "Manage Public Holidays",
"website": "https://github.com/OCA/hr-holidays",
"depends": ["hr_holidays"],
"data": [
"data/data.xml",
"security/ir.model.access.csv",
"views/hr_holidays_public_view.xml",
"views/hr_leave_type.xml",
"wizards/holidays_public_next_year_wizard.xml",
],
"installable": True,
}

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="event_type_holiday" model="calendar.event.type">
<field name="name">Holidays</field>
</record>
</odoo>

View file

@ -0,0 +1,322 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
# abdullah alsabi <alsabi.abdullah@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-10 04:30+0000\n"
"PO-Revision-Date: 2017-06-10 04:30+0000\n"
"Last-Translator: abdullah alsabi <alsabi.abdullah@gmail.com>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the "
"templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything "
"in\n"
" optional fields and only need to click on the "
"button\n"
" \"Create\"."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr "إلغاء"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr "انشئ من قبل"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr "وقت الانشاء"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr "إسم العرض"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "Exclude Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr "اخر تعديل من قبل"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr "اخر تعديل في"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special "
"year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you "
"want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select "
"templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country "
"states."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""

View file

@ -0,0 +1,309 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr "Obični zaposlenik"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything in\n"
" optional fields and only need to click on the button\n"
" \"Create\"."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr "Kalendarska godina"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr "Odustani"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr "Kontakt"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr "Država"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr "Kreiraj"
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr "Kreiraj državne praznike za sljedeću godinu"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr "Kreirao"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr "Kreirano"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr "Kreiraj državne praznike iz postojećih"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr "Datum"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr "Datum može varirati"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr "Zadane vrijednosti"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr "Naziv"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "Exclude Public Holidays"
msgstr "Državni praznici"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr "Datumi praznika"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr "ID"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr "Ako je omogućeno, javni praznici se preskačeu u kalkulaciji dana odmora."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr "Zadnje modificirano"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr "Zadnji ažurirao"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr "Zadnje ažurirano"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr "Sastanak"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr "Naziv"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr "Opcionalno"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr "Javni praznik danas"
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr "Državni praznici"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr "Stavke državnih praznika"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr "Povezane županije"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr "Radno vrijeme resursa"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr "Predlošci"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr "Odsustva"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr "Tip odsustva"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr "Korisnik"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr "Godina"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country"
" states."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr "Ne možete kreirati duplikat javnog praznika po datumu %s."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr "Ne možete kreirati duplikat javnog praznika po godini i/ili zemlji"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""

View file

@ -0,0 +1,316 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the "
"templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything "
"in\n"
" optional fields and only need to click on the "
"button\n"
" \"Create\"."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "Exclude Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special "
"year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you "
"want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select "
"templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country "
"states."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""

View file

@ -0,0 +1,375 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-03 03:37+0000\n"
"PO-Revision-Date: 2019-07-09 13:43+0000\n"
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.7.1\n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the "
"templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything "
"in\n"
" optional fields and only need to click on the "
"button\n"
" \"Create\"."
msgstr ""
"Standardmäßig werden die aktuellsten Feiertage\n"
" für jedes Land als Vorlage zum Erstellen\n"
" der Feiertage der nachfolgenden Jahre "
"verwendet.\n"
" <br/><br/>\n"
" Normalerweise muss im Reiter 'Optional' nichts "
"weiter eingetragen, \n"
" sondern nur auf den Button 'Erstellen' geklickt "
"werden."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr "Kalenderjahr"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr "Abbrechen"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr "Land"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr "Erstellen"
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr "Feiertage des neues Jahres erstellen"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr "Erstellt von"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr "Erstellt am"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr "Feiertage ausgehend von den bereits Existierenden erstellen"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr "Datum"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr "Datum kann sich ändern"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
"Die Feiertage sollten das gleiche Jahr wie das Kalenderjahr sein, dem sie "
"zugewiesen werden"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr "Standards"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr "Anzeigename"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "Exclude Public Holidays"
msgstr "Feiertage ausschließen"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr "Urlaubsdaten"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr "ID"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
"Wenn der Haken gesetzt ist, werden die Feiertage bei der Berechnung der "
"Urlaubstage übersprungen."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr "Zuletzt geändert am"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr "Zuletzt aktualisiert von"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr "Zuletzt aktualisiert am"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr "Bezeichnung"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
"Es wurde keine Feiertage als Vorlage gefunden. Dies muss daher einmalig "
"manuell erfolgen."
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr "Optional"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr "Feiertage"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr "Feiertagszeilen"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr "Verwandte Staaten"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr "Arbeitszeit der Ressource"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
"Wählen Sie ein Jahr als Vorlage für die Erstellung der Feiertage. Wenn es "
"nicht gesetzt ist, wird für jedes Land die jeweils aktuellste Vorlage "
"verwendet. Wenn mehrere ausgewählt werden, wird nur die aktuellste Vorlage "
"verwendet. (Wenn beispielsweise die Vorlage von 2012 und von 2015 angeklickt "
"wird, dann wird nur die von 2015 verwendet)."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr "Vorlagen"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special "
"year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you "
"want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
"Die hier angegebenen optionalen Felder werden nur in \n"
" Ausnahmesituationen verwenden, beispielsweise:\n"
" \"2011 war ein spezielles Jahr mit einem "
"zusätzlichen Feiertag\n"
" für das 150. Jubiläum der italienischen Einheit. "
"Deswegen\n"
" sollte für das Jahr 2012 die Vorlage von 2010 "
"verwendet werden.\""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select "
"templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
"Verwenden Sie diesen Assistenten zum Erstellen der Feiertage\n"
" basierend auf einer bereits existierenden "
"Vorlage.<br/>\n"
" Wenn Sie mehrere Vorlagen angeben, wird nur die "
"aktuellste \n"
" für jedes Land berücksichtigt. \n"
" Beispiel: Wenn Sie die Vorlagen von 2012 und "
"2015 für dasselbe Land \n"
" hinzufügen, wird nur die von 2015 berücksichtigt."
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr "Jahr"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
"Dies ist das Jahr, für das die Feiertage erstellt werden sollen. "
"Standardmäßig würden sie für das nachfolgende Jahr der Vorlage erstellt "
"werden."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country "
"states."
msgstr ""
"Sie können keinen öffentlichen Feiertag doppelt pro Datum %s und einem der "
"Länder erstellen."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr ""
"Sie können keinen öffentlichen Feiertag doppelt pro Datum %s erstellen."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr ""
"Sie können keinen öffentlichen Feiertag doppelt pro Jahr und/oder Land "
"erstellen."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""
"Als Vorlage für die Erstellung von Feiertagen darf kein Schaltjahr (2016, "
"2020, ...) verwendet werden. Es sollte die Vorlage eines anderes Jahres "
"verwendet werden."
#~ msgid "Leave"
#~ msgstr "Urlaub"
#~ msgid "Leave Type"
#~ msgstr "Urlaubstyp"

View file

@ -0,0 +1,359 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
# José Antonio Cuello <yopli2000@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-03 03:37+0000\n"
"PO-Revision-Date: 2022-02-02 14:33+0000\n"
"Last-Translator: Olga Marco Puértolas <olga.marco@creublanca.es>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the "
"templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything "
"in\n"
" optional fields and only need to click on the "
"button\n"
" \"Create\"."
msgstr ""
"Por defect los festivos más recientes de cada país se usan como plantilla "
"para crear el calendario del año siguiente.\n"
"<br/><br/>\n"
"Normalmente no hará falta que se introduzca nada, solo es necesario clica en "
"'Crear'."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr "Año del calendario"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr "Cancelar"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr "País"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr "Crear"
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr "Crear Próximo Calendario de Festivos"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr "Creado el"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr "Crea el calendario de festivos a partir de uno ya existente"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr "Fecha"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr "La fecha puede cambiar"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
"Las fechas de las vacaciones deberían ser el mismo año que el año de "
"calendario al que están siendo asignadas"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr "Por defecto"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr "Mostrar nombre"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "Exclude Public Holidays"
msgstr "Excluir Festivos"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr "Fechas de la vacación"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr "ID"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
"Si se marca, los festivos no se tienen en cuenta en el cálculo de días de "
"ausencia."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr "Última modificación el"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr "Última actualización en"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr "Reunión"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr "Nombre"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
"No se ha encontrado plantilla de Festivos. Por favor, cree el primer "
"calendario de Festivos manualmente."
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr "Opcional"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr "Festivos"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr "Líneas de Festivos"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr "Provincias relacionadas"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr "Horario de Trabajo"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
"Seleccione el calendario de festivos a usar como plantilla. Si no se "
"selecciona, el calendario más reciente se usará para cada país. Sólo la "
"plantilla más reciente se utilizará para cada país (si selecciona una "
"plantilla de 2012 y otra de 2015, solo se tendrá en cuenta la del 2015)."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr "Plantillas"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special "
"year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you "
"want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
"Los siguientes campos opcionales se usan para lidiar con casos especiales, "
"por ejemplo en 2011 hubo un festivo extra en Italia por la celebración del "
"150 aniversario de la unificación, así que lo que se quiere es replicar de "
"2010 a 2012"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr "Tiempo libre"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr "Tipo de tiempo libre"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select "
"templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
"Use este wizard para crear el calendario de Festivos a partir\n"
" de ya existentes.<br/>\n"
" Sólo la plantilla más reciente se utilizará\n"
" para cada país (si selecciona una plantilla de "
"2012\n"
" y otra de 2015, solo se tendrá en cuenta la del "
"2015)."
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr "Año"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
"Año para el que quieres crear el calendario de festivos. Por defecto se usa "
"el año siguiente al de la plantilla."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country "
"states."
msgstr ""
"No puede crear festivos duplicados para la fecha %s y una de las provincias."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr "No puede festivos duplicados para la fecha %s."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr "No puede crear festivos duplicados para el año y/o país"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""
"No se puede utilizar como plantilla un calendario que incluye un festivo el "
"29 de Febrero, por favor seleccione una plantilla de otro año."
#~ msgid "Leave"
#~ msgstr "Ausencia"
#~ msgid "Leave Type"
#~ msgstr "Tipo de Ausencia"

View file

@ -0,0 +1,320 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-03 03:37+0000\n"
"PO-Revision-Date: 2017-03-03 03:37+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n"
"Language: fi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the "
"templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything "
"in\n"
" optional fields and only need to click on the "
"button\n"
" \"Create\"."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr "Luonut"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr "Luotu"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "Exclude Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr "ID"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr "Viimeksi päivittänyt"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr "Viimeksi päivitetty"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr "Nimi"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special "
"year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you "
"want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select "
"templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country "
"states."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""

View file

@ -0,0 +1,372 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
# leemannd <denis.leemann@camptocamp.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-03 03:37+0000\n"
"PO-Revision-Date: 2021-05-14 17:47+0000\n"
"Last-Translator: Yves Le Doeuff <yld@alliasys.fr>\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.3.2\n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
#, fuzzy
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the "
"templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything "
"in\n"
" optional fields and only need to click on the "
"button\n"
" \"Create\"."
msgstr ""
"Par défaut, les derniers jours fériés\n"
"                             pour chaque pays sont utilisés comme modèle "
"pour créer\n"
"                             des jours fériés pour l'année suivante.\n"
"                             <br/> <br/>\n"
"                             Normalement, vous n'avez besoin de rien saisir "
"dans\n"
"                             champs facultatifs et il suffit de cliquer sur "
"le bouton\n"
"                             \"Créer\"."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr "Année Calendaire"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr "Annuler"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr "Pays"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr "Créer"
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr "Créer les jours fériés de l'année prochaine"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr "Créé par"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr "Créé le"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr "Crée des jours fériés à partir de ceux existants"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr "Date"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr "La date peut changer"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
"Les dates des jours fériés doivent correspondre à l'année du calendrier "
"auxquelles elles sont assignées"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr "Défauts"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr "Nom affiché"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "Exclude Public Holidays"
msgstr "Exclure les jours fériés"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr "Date des vacances"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr "ID"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
"Si activé, les jours fériés sont ignorés dans le calcul des jours de congé."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr "Dernière modification le"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr "Mis-à-jour par"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr "Mis-à-jour le"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr "Réunion"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr "Nom"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
"Aucun jour férié trouvé comme modèle. Veuillez créer manuellement les "
"premiers jours fériés."
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr "Optionnel"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr "Jours fériés"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr "Linge de jours fériés"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr "Etats liés"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr "Horaire de travail de la ressource"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
"Sélectionnez les jours fériés à utiliser comme modèle. Si non défini, les "
"derniers jours fériés de chaque pays seront utilisés. Seuls les derniers "
"modèles de chaque pays pour chaque année seront pris en compte (Si vous "
"sélectionnez des modèles de 2012 et 2015, seuls les modèles de 2015 seront "
"pris en compte)."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr "Modèles"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special "
"year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you "
"want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
"Les champs facultatifs ci-dessous sont uniquement destinés à\n"
"                             des situations spéciales comme \"2011 était une "
"année spéciale avec\n"
"                             un jour férié supplémentaire pour le 150\n"
"                             anniversaire de l'unification italienne, vous "
"voulez donc\n"
"                             reproduire les vacances italiennes de 2010 à "
"2012. \""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr "Temps libre"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr "Type de temps libre"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select "
"templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
"Utilisez cet assistant pour créer des jours fériés basés sur\n"
"                             ceux existants. <br/>\n"
"                             Seuls les derniers modèles de chaque pays\n"
"                             seront pris en compte (si vous sélectionnez des "
"modèles\n"
"                             à partir de 2012 et 2015 du même pays; '\n"
"                             seuls les modèles de 2015 seront pris en "
"compte)."
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr "Année"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
"Année pour laquelle vous voulez créer les jours fériés. Par défaut, l'année "
"suivant le modèle."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country "
"states."
msgstr ""
"Vous ne pouvez pas créer un double jour férié par date %s et dans lun des "
"états du pays."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr "Vous ne pouvez dupliquer ce jour férié par date %s."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr "Vous ne pouvez pas créer de double jour férié par an et/ou par pays"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""
"Vous ne pouvez pas utiliser comme modèle les jours fériés d'une année qui "
"inclut les jours fériés du 29 février (2016, 2020 ...), veuillez "
"sélectionner un modèle d'une autre année."
#~ msgid "Leave"
#~ msgstr "Congé"
#~ msgid "Leave Type"
#~ msgstr "Type de congé"

View file

@ -0,0 +1,361 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-04-11 16:46+0000\n"
"Last-Translator: Yves Le Doeuff <yld@alliasys.fr>\n"
"Language-Team: none\n"
"Language: fr_FR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.3.2\n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the "
"templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything "
"in\n"
" optional fields and only need to click on the "
"button\n"
" \"Create\"."
msgstr ""
"Par défaut, les derniers jours fériés\n"
"                             pour chaque pays sont utilisés comme modèle "
"pour créer\n"
"                             des jours fériés pour l'année suivante.\n"
"                             <br/> <br/>\n"
"                             Normalement, vous n'avez besoin de rien saisir "
"dans\n"
"                             champs facultatifs et il suffit de cliquer sur "
"le bouton\n"
"                             \"Créer\"."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr "Année Calendaire"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr "Annuler"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr "Pays"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr "Créer"
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr "Créer les jours fériés de l'année prochaine"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr "Créé par"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr "Créé le"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr "Crée des jours fériés à partir de ceux existants"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr "Date"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr "La date peut changer"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
"Les dates des jours fériés doivent correspondre à l'année du calendrier "
"auxquelles elles sont assignées"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr "Défauts"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr "Nom affiché"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "Exclude Public Holidays"
msgstr "Exclure les jours fériés"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr "Date des vacances"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr "ID"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
"Si activé, les jours fériés sont ignorés dans le calcul des jours de congé."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr "Dernière modification le"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr "Mis-à-jour par"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr "Mis-à-jour le"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr "Nom"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
"Aucun jour férié trouvé comme modèle. Veuillez créer manuellement les "
"premiers jours fériés."
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr "Optionnel"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr "Jours fériés"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr "Linge de jours fériés"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr "Etats liés"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
"Sélectionnez les jours fériés à utiliser comme modèle. Si non défini, les "
"derniers jours fériés de chaque pays seront utilisés. Seuls les derniers "
"modèles de chaque pays pour chaque année seront pris en compte (Si vous "
"sélectionnez des modèles de 2012 et 2015, seuls les modèles de 2015 seront "
"pris en compte)."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr "Modèles"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special "
"year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you "
"want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
"Les champs facultatifs ci-dessous sont uniquement destinés à\n"
"                             des situations spéciales comme \"2011 était une "
"année spéciale avec\n"
"                             un jour férié supplémentaire pour le 150\n"
"                             anniversaire de l'unification italienne, vous "
"voulez donc\n"
"                             reproduire les vacances italiennes de 2010 à "
"2012. \""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select "
"templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
"Utilisez cet assistant pour créer des jours fériés basés sur\n"
"                             ceux existants. <br/>\n"
"                             Seuls les derniers modèles de chaque pays\n"
"                             seront pris en compte (si vous sélectionnez des "
"modèles\n"
"                             à partir de 2012 et 2015 du même pays; '\n"
"                             seuls les modèles de 2015 seront pris en "
"compte)."
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr "Année"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
"Année pour laquelle vous voulez créer les jours fériés. Par défaut, l'année "
"suivant le modèle."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country "
"states."
msgstr ""
"Vous ne pouvez pas créer un double jour férié par date %s et dans lun des "
"états du pays."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr "Vous ne pouvez dupliquer ce jour férié par date %s."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr "Vous ne pouvez pas créer de double jour férié par an et/ou par pays"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""
"Vous ne pouvez pas utiliser comme modèle les jours fériés d'une année qui "
"inclut les jours fériés du 29 février (2016, 2020 ...), veuillez "
"sélectionner un modèle d'une autre année."

View file

@ -0,0 +1,326 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
# Translators:
# Bole <bole@dajmi5.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-04 06:53+0000\n"
"PO-Revision-Date: 2017-07-04 06:53+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>, 2017\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the "
"templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything "
"in\n"
" optional fields and only need to click on the "
"button\n"
" \"Create\"."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr "Kalendarska godina"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr "Odustani"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr "Država"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr "Kreiraj"
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr "Kreiraj državne praznike za sljedeću godinu"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr "Kreirao"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr "Kreirano"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr "Kreiraj državne praznike iz postojećih"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr "Datum"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr "Datum može varirati"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
"Datumi praznika bi trebali biti u istoj godini za koju je kreiran ovaj "
"kalendar"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr "Zadane vrijednosti"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr "Naziv"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
#, fuzzy
msgid "Exclude Public Holidays"
msgstr "Državni praznici"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr "Datumi praznika"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr "ID"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr "Zadnje modificirano"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr "Zadnji ažurirao"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr "Zadnje ažurirano"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr "Naziv"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
"Nisu pronađeni predlošci državnih praznika. Molimo kreirajte prvi državni "
"praznik ručno."
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr "Opcionalno"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr "Državni praznici"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr "Stavke državnih praznika"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr "Povezane županije"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr "Predlošci"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special "
"year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you "
"want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select "
"templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country "
"states."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""

View file

@ -0,0 +1,326 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
# Bole <bole@dajmi5.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-03 03:37+0000\n"
"PO-Revision-Date: 2017-03-03 03:37+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>, 2017\n"
"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/"
"hr_HR/)\n"
"Language: hr_HR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the "
"templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything "
"in\n"
" optional fields and only need to click on the "
"button\n"
" \"Create\"."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr "Kalendarska godina"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr "Odustani"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr "Država"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr "Kreirao"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr "Kreirano"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr "Datum"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr "Datum može varirati"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
"Datumi praznika trebaju pripadati istoj kalendarskoj godini u kojoj su "
"definirani"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr "Naziv"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
#, fuzzy
msgid "Exclude Public Holidays"
msgstr "Javni praznici"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr "Datumi praznika"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr "ID"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr "Zadnje ažurirano"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr "Zadnji ažurirao"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr "Naziv"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr "Javni praznici"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr "Stavke javnih praznika"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr "Povezani statusi"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special "
"year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you "
"want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select "
"templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country "
"states."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""

View file

@ -0,0 +1,309 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything in\n"
" optional fields and only need to click on the button\n"
" \"Create\"."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "Exclude Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country"
" states."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""

View file

@ -0,0 +1,365 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-03 03:37+0000\n"
"PO-Revision-Date: 2025-06-26 09:25+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.10.4\n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr "Dipendente base"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the "
"templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything "
"in\n"
" optional fields and only need to click on the "
"button\n"
" \"Create\"."
msgstr ""
"Per impostazione predefinita, i giorni festivi più recenti\n"
" per ogni paese sono usati come modello per "
"creare\n"
" le festività per l'anno seguendo i modelli.\n"
" <br/><br/>\n"
" Normalmente, non dovrebbe essere necessario "
"inserire nulla\n"
" nei campi facoltativi ed è solo necessario fare "
"clic sul pulsante\n"
" \"Crea\"."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr "Anno del calendario"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr "Annulla"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr "Contatto"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr "Nazione"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr "Crea"
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr "Crea giorni festivi del prossimo anno"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr "Creato da"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr "Creato il"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr "Crea giorni festivi da quelli esistenti"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr "Data"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr "Data variabile"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
"Le date delle vacanze dovrebbero coincidere con l'anno solare a cui sono "
"state assegnate"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr "Predefiniti"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr "Nome visualizzato"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "Exclude Public Holidays"
msgstr "Escludi i giorni festivi"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr "Date festività"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr "ID"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
"Se abilitato, i giorni festivi vengono saltati nel calcolo dei giorni di "
"assenza."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr "Ultima modifica il"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr "Ultimo aggiornamento di"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr "Ultimo aggiornamento il"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr "Riunione"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr "Nome"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
"Nessun giorno festivo trovato come modello. Si prega di creare i primi "
"giorni festivi manualmente."
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr "Opzionale"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr "Oggi festività pubblica"
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr "Giorni festivi"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr "Righe giorni festivi"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr "Province correlate"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr "Orario lavoro risorsa"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
"Seleziona i giorni festivi da utilizzare come modello. In caso contrario, "
"verranno utilizzati gli ultimi giorni festivi di ciascun paese. Verranno "
"presi in considerazione solo gli ultimi modelli di ciascun paese per ogni "
"anno (se si selezionano modelli del 2012 e del 2015, verranno presi in "
"considerazione solo i modelli del 2015."
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr "Modelli"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special "
"year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you "
"want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
"I campi facoltativi seguenti sono qui solo per gestire\n"
" situazioni particolari come \"Il 2011 è stato "
"un anno speciale con\n"
" un giorno festivo aggiuntivo per il 150°\n"
" anniversario dell'Unità d'Italia, quindi vuoi\n"
" replicare le festività italiane dal 2010 al "
"2012.\""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr "Ferie"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr "Tipo di ferie"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select "
"templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
"Utilizzare questo wizard per creare giorni festivi basati su\n"
" quelli esistenti.<br/>\n"
" Solo gli ultimi template di ogni paese\n"
" verranno presi in considerazione (se si "
"selezionano i template\n"
" dal 2012 al 2015 dello stesso Paese; '\n"
" verranno presi in considerazione solo i "
"template del 2015\n"
" )."
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr "Utente"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr "Anno"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
"Anno per il quale si desidera creare i giorni festivi. Per impostazione "
"predefinita, l'anno successivo al modello."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country "
"states."
msgstr ""
"Non puoi creare un giorno festivo duplicato per la data %s e una delle "
"province della nazione."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr "Non puoi creare un giorno festivo duplicato per la data %s."
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr "Non è possibile creare giorni festivi duplicati per anno e/o nazione"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""
"Non si possono utilizzare come modello i giorni festivi di un anno che "
"presenta giorni festivi il 29 febbraio (2016, 2020...), seleziona un modello "
"di un altro anno."

View file

@ -0,0 +1,322 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
# Translators:
# Peter Hageman <hageman.p@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-10 04:30+0000\n"
"PO-Revision-Date: 2017-06-10 04:30+0000\n"
"Last-Translator: Peter Hageman <hageman.p@gmail.com>, 2017\n"
"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/"
"teams/23907/nl_NL/)\n"
"Language: nl_NL\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the "
"templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything "
"in\n"
" optional fields and only need to click on the "
"button\n"
" \"Create\"."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr "Kalenderjaar"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr "Annuleer"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr "Land"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr "Aanmaken"
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr "Aangemaakt door"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr "Aangemaakt op"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr "Maakt feestdagen aan van bestaande"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr "Datum"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr "Datum kan wijzigen"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr "Standaard"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr "Weergavenaam"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
#, fuzzy
msgid "Exclude Public Holidays"
msgstr "Feestdagen"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr "ID"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr "Laatst gewijzigd op"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr "Laatst bijgewerkt door"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr "Laatst bijgewerkt op"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr "Naam"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr "Optioneel"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr "Feestdagen"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr "Feestdagen-regels"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr "Gerelateerde Fases"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr "Sjablonen"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special "
"year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you "
"want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select "
"templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr "Jaar"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country "
"states."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""

View file

@ -0,0 +1,323 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-03 03:37+0000\n"
"PO-Revision-Date: 2017-03-03 03:37+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Polish (https://www.transifex.com/oca/teams/23907/pl/)\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && "
"(n%100<12 || n%100>=14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && "
"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the "
"templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything "
"in\n"
" optional fields and only need to click on the "
"button\n"
" \"Create\"."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr "Kraj"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr "Data"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr "Data może ulec zmianie"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
#, fuzzy
msgid "Exclude Public Holidays"
msgstr "Dni wolne od pracy"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr "Daty dni wolnych od pracy"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr "Nazwa"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr "Dni wolne od pracy"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr "Dni wolne od pracy - pozycje"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special "
"year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you "
"want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select "
"templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country "
"states."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""

View file

@ -0,0 +1,325 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-03 03:37+0000\n"
"PO-Revision-Date: 2019-11-24 20:57+0000\n"
"Last-Translator: Rodrigo Macedo <rmsolucoeseminformatic4@gmail.com>\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/"
"teams/23907/pt_BR/)\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 3.8\n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the "
"templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything "
"in\n"
" optional fields and only need to click on the "
"button\n"
" \"Create\"."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr "Cancelar"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr "País"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr "Criado"
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr "Criado por"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr "Criado em"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr "Data"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr "Padrões"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr "Exibir Nome"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "Exclude Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr "Identificação"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr "Última modificação em"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr "Última atualização por"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr "Última Atualização no"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr "Nome"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr "Opcional"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr "Feriados Públicos"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr "Modelos"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special "
"year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you "
"want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select "
"templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr "Ano"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country "
"states."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""
#~ msgid "Leave"
#~ msgstr "Sair"

View file

@ -0,0 +1,321 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-03 03:37+0000\n"
"PO-Revision-Date: 2017-03-03 03:37+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n"
"Language: ro\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
"2:1));\n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the "
"templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything "
"in\n"
" optional fields and only need to click on the "
"button\n"
" \"Create\"."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr "Creeat de către"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr "Creeat în"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "Exclude Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr "ID"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr "Ultima actualizare de către"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr "Ultima actualizare în"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special "
"year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you "
"want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select "
"templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country "
"states."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""

View file

@ -0,0 +1,322 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_holidays_public
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-03 03:37+0000\n"
"PO-Revision-Date: 2017-03-03 03:37+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
"Language: sl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || "
"n%100==4 ? 2 : 3);\n"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_employee_base
msgid "Basic Employee"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"By default, the most recent public holidays\n"
" for each country are used as template to create\n"
" public holidays for the year following the "
"templates.\n"
" <br/><br/>\n"
" Normally, you should not need to input anything "
"in\n"
" optional fields and only need to click on the "
"button\n"
" \"Create\"."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__year
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__year_id
msgid "Calendar Year"
msgstr "Koledarsko leto"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Cancel"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_partner
msgid "Contact"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id
msgid "Country"
msgstr "Država"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_public_holidays
#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Create Next Year Public Holidays"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_uid
msgid "Created by"
msgstr "Ustvaril"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__create_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__create_date
msgid "Created on"
msgstr "Ustvarjeno"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard
msgid "Creates public holidays from existing ones"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__date
msgid "Date"
msgstr "Datum"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date
msgid "Date may change"
msgstr "Datum se lahko spremeni"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"Dates of holidays should be the same year as the calendar year they are "
"being assigned to"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Defaults"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__display_name
msgid "Display Name"
msgstr "Prikazni naziv"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
#, fuzzy
msgid "Exclude Public Holidays"
msgstr "Javni prazniki"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids
msgid "Holiday Dates"
msgstr "Datumi praznikov"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__id
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__id
msgid "ID"
msgstr "ID"
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_hr_leave_type__exclude_public_holidays
msgid "If enabled, public holidays are skipped in leave days calculation."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line____last_update
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard____last_update
msgid "Last Modified on"
msgstr "Zadnjič spremenjeno"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_uid
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_uid
msgid "Last Updated by"
msgstr "Zadnjič posodobil"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__write_date
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__write_date
msgid "Last Updated on"
msgstr "Zadnjič posodobljeno"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__meeting_id
msgid "Meeting"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__name
msgid "Name"
msgstr "Naziv"
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"No Public Holidays found as template. Please create the first Public "
"Holidays manually."
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid "Optional"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_base__is_public_holiday
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_employee_public__is_public_holiday
msgid "Public Holiday Today"
msgstr ""
#. module: hr_holidays_public
#: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public
#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view
#: model:ir.ui.menu,name:hr_holidays_public.menu_hr_public_holidays
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.edit_holiday_status_form
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form
msgid "Public Holidays"
msgstr "Javni prazniki"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line
msgid "Public Holidays Lines"
msgstr "Postavke javnih praznikov"
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__state_ids
msgid "Related States"
msgstr "Povezane zvezne države"
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_resource_calendar
msgid "Resource Working Time"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid ""
"Select the public holidays to use as template. If not set, latest public "
"holidays of each country will be used. Only the last templates of each "
"country for each year will be taken into account (If you select templates "
"from 2012 and 2015, only the templates from 2015 will be taken into account."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids
msgid "Templates"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"The below optional fields are here only to handle\n"
" special situations like \"2011 was a special "
"year with\n"
" an additional public holiday for the 150th\n"
" anniversary of the Italian unification, so you "
"want to\n"
" replicate the 2010 Italian holidays to 2012.\""
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave
msgid "Time Off"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_hr_leave_type
msgid "Time Off Type"
msgstr ""
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view
msgid ""
"Use this wizard to create public holidays based on the\n"
" existing ones.<br/>\n"
" Only the last templates of each country\n"
" will be taken into account (If you select "
"templates\n"
" from 2012 and 2015 of the same country; '\n"
" only the templates from 2015 will be taken into\n"
" account)."
msgstr ""
#. module: hr_holidays_public
#: model:ir.model,name:hr_holidays_public.model_res_users
msgid "User"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid "Year"
msgstr ""
#. module: hr_holidays_public
#: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year
msgid ""
"Year for which you want to create the public holidays. By default, the year "
"following the template."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid ""
"You can't create duplicate public holiday per date %s and one of the country "
"states."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per date %s."
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/models/hr_holidays_public.py:0
#, python-format
msgid "You can't create duplicate public holiday per year and/or country"
msgstr ""
#. module: hr_holidays_public
#. odoo-python
#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:0
#, python-format
msgid ""
"You cannot use as template the public holidays of a year that includes "
"public holidays on 29th of February (2016, 2020...), please select a "
"template from another year."
msgstr ""

View file

@ -0,0 +1,9 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from . import hr_employee
from . import hr_leave
from . import hr_leave_type
from . import hr_holidays_public
from . import resource_calendar
from . import res_partner
from . import res_users

View file

@ -0,0 +1,33 @@
# Copyright 2025 Tecnativa - Víctor Martínez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import fields, models
class HrEmployeeBase(models.AbstractModel):
_inherit = "hr.employee.base"
is_public_holiday = fields.Boolean(
string="Public Holiday Today", compute="_compute_is_public_holiday"
)
def _compute_is_public_holiday(self):
holiday_public = self.env["hr.holidays.public"]
for item in self:
item.is_public_holiday = holiday_public.is_public_holiday(
fields.Date.context_today(item), employee_id=item.id
)
def _get_im_status_hr_holidays_public(self, key):
im_status_mapped = {
"online": "leave_online",
"away": "leave_away",
"offline": "leave_offline",
}
return im_status_mapped[key]
def _compute_leave_status(self):
res = super()._compute_leave_status()
for item in self.filtered(lambda x: not x.is_absent and x.is_public_holiday):
item.is_absent = True
return res

View file

@ -0,0 +1,265 @@
# Copyright 2015 2011,2013 Michael Telahun Makonnen <mmakonnen@gmail.com>
# Copyright 2020 InitOS Gmbh
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
import datetime
import logging
from datetime import date
from odoo import SUPERUSER_ID, _, api, fields, models
from odoo.exceptions import ValidationError
_logger = logging.getLogger(__name__)
class HrHolidaysPublic(models.Model):
_name = "hr.holidays.public"
_description = "Public Holidays"
_rec_name = "year"
_order = "year"
display_name = fields.Char("Name", compute="_compute_display_name", store=True)
year = fields.Integer("Calendar Year", required=True, default=date.today().year)
line_ids = fields.One2many("hr.holidays.public.line", "year_id", "Holiday Dates")
country_id = fields.Many2one("res.country", "Country")
@api.constrains("year", "country_id")
def _check_year(self):
for line in self:
line._check_year_one()
def _check_year_one(self):
if self.search_count(
[
("year", "=", self.year),
("country_id", "=", self.country_id.id),
("id", "!=", self.id),
]
):
raise ValidationError(
_(
"You can't create duplicate public holiday per year and/or"
" country"
)
)
return True
@api.depends("year", "country_id")
def _compute_display_name(self):
for line in self:
if line.country_id:
line.display_name = "{} ({})".format(line.year, line.country_id.name)
else:
line.display_name = line.year
def name_get(self):
result = []
for rec in self:
result.append((rec.id, rec.display_name))
return result
def _get_domain_states_filter(
self, pholidays, start_dt, end_dt, employee_id=None, partner_id=None
):
partner = self._get_partner_deprecated_employee(partner_id, employee_id)
states_filter = [("year_id", "in", pholidays.ids)]
if partner and partner.state_id:
states_filter += [
"|",
("state_ids", "=", False),
("state_ids", "=", partner.state_id.id),
]
else:
states_filter.append(("state_ids", "=", False))
states_filter.append(("date", ">=", start_dt))
states_filter.append(("date", "<=", end_dt))
return states_filter
@api.model
@api.returns("hr.holidays.public.line")
def get_holidays_list(
self, year=None, start_dt=None, end_dt=None, employee_id=None, partner_id=None
):
"""
Returns recordset of hr.holidays.public.line
for the specified year and employee
:param year: year as string (optional if start_dt and end_dt defined)
:param start_dt: start_dt as date
:param end_dt: end_dt as date
:param employee_id: ID of the employee
:return: recordset of hr.holidays.public.line
"""
partner = self._get_partner_deprecated_employee(partner_id, employee_id)
if not start_dt and not end_dt:
start_dt = datetime.date(year, 1, 1)
end_dt = datetime.date(year, 12, 31)
years = list(range(start_dt.year, end_dt.year + 1))
holidays_filter = [("year", "in", years)]
if partner:
if partner.country_id:
holidays_filter.append("|")
holidays_filter.append(("country_id", "=", False))
holidays_filter.append(("country_id", "=", partner.country_id.id))
else:
holidays_filter.append(("country_id", "=", False))
pholidays = self.search(holidays_filter)
if not pholidays:
return self.env["hr.holidays.public.line"]
partner_id = partner.id if partner else None
states_filter = self._get_domain_states_filter(
pholidays,
start_dt,
end_dt,
partner_id=partner_id,
employee_id=employee_id,
)
hhplo = self.env["hr.holidays.public.line"]
holidays_lines = hhplo.search(states_filter)
return holidays_lines
@api.model
def is_public_holiday(self, selected_date, employee_id=None, partner_id=None):
"""
Returns True if selected_date is a public holiday for the employee
:param selected_date: datetime object
:param employee_id: ID of the employee
:param partner_id: ID of the partner
:return: bool
"""
partner = self._get_partner_deprecated_employee(partner_id, employee_id)
partner_id = partner.id if partner else None
holidays_lines = self.get_holidays_list(
year=selected_date.year, partner_id=partner_id, employee_id=employee_id
)
if holidays_lines:
hol_date = holidays_lines.filtered(lambda r: r.date == selected_date)
if hol_date.ids:
return True
return False
def _get_partner_deprecated_employee(self, partner_id, employee_id):
# TODO: Drop function in next migration
partner = False
if employee_id is not None:
employee = self.env["hr.employee"].browse(employee_id)
partner = employee.address_id
if partner_id:
if partner:
_logger.warning(
"Both 'employee_id' and 'partner_id' were provided in the "
"method's parameters. Ignoring 'employee_id'."
)
partner = self.env["res.partner"].browse(partner_id)
return partner
class HrHolidaysPublicLine(models.Model):
_name = "hr.holidays.public.line"
_description = "Public Holidays Lines"
_order = "date, name desc"
name = fields.Char(required=True)
date = fields.Date(required=True)
year_id = fields.Many2one(
"hr.holidays.public", "Calendar Year", required=True, ondelete="cascade"
)
variable_date = fields.Boolean("Date may change", default=True)
state_ids = fields.Many2many(
"res.country.state",
"hr_holiday_public_state_rel",
"line_id",
"state_id",
"Related States",
)
meeting_id = fields.Many2one("calendar.event", string="Meeting", copy=False)
@api.constrains("date", "state_ids")
def _check_date_state(self):
for line in self:
line._check_date_state_one()
def _get_domain_check_date_state_one_state_ids(self):
return [
("date", "=", self.date),
("year_id", "=", self.year_id.id),
("state_ids", "!=", False),
("id", "!=", self.id),
]
def _get_domain_check_date_state_one(self):
return [
("date", "=", self.date),
("year_id", "=", self.year_id.id),
("state_ids", "=", False),
]
def _check_date_state_one(self):
if self.date.year != self.year_id.year:
raise ValidationError(
_(
"Dates of holidays should be the same year as the calendar"
" year they are being assigned to"
)
)
if self.state_ids:
domain = self._get_domain_check_date_state_one_state_ids()
holidays = self.search(domain)
for holiday in holidays:
if self.state_ids & holiday.state_ids:
raise ValidationError(
_(
"You can't create duplicate public holiday per date"
" %s and one of the country states."
)
% self.date
)
domain = self._get_domain_check_date_state_one()
if self.search_count(domain) > 1:
raise ValidationError(
_("You can't create duplicate public holiday per date %s.") % self.date
)
return True
def _prepare_holidays_meeting_values(self):
self.ensure_one()
categ_id = self.env.ref("hr_holidays_public.event_type_holiday", False)
meeting_values = {
"name": (
"{} ({})".format(self.name, self.year_id.country_id.name)
if self.year_id.country_id
else self.name
),
"description": ", ".join(self.state_ids.mapped("name")),
"start": self.date,
"stop": self.date,
"allday": True,
"user_id": SUPERUSER_ID,
"privacy": "confidential",
"show_as": "busy",
"partner_ids": [],
}
if categ_id:
meeting_values.update({"categ_ids": [(6, 0, categ_id.ids)]})
return meeting_values
@api.constrains("date", "name", "year_id", "state_ids")
def _update_calendar_event(self):
for rec in self:
if rec.meeting_id:
rec.meeting_id.write(rec._prepare_holidays_meeting_values())
@api.model_create_multi
def create(self, vals_list):
res = super().create(vals_list)
for record in res:
record.meeting_id = self.env["calendar.event"].create(
record._prepare_holidays_meeting_values()
)
return res
def unlink(self):
self.mapped("meeting_id").unlink()
return super().unlink()

View file

@ -0,0 +1,106 @@
# Copyright 2017-2021 Tecnativa - Pedro M. Baeza
# Copyright 2018 Brainbean Apps
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import api, fields, models
class HrLeave(models.Model):
_inherit = "hr.leave"
def action_validate(self):
"""Inject the needed context for excluding public holidays (if applicable) on the
actions derived from this validation. This is required for example for
`project_timesheet_holidays` for not generating the timesheet on the public holiday.
Unfortunately, no regression test can be added, being in a separate module."""
for leave in self:
if (
leave.holiday_status_id.exclude_public_holidays
or not leave.holiday_status_id
):
leave = leave.with_context(
employee_id=leave.employee_id.id, exclude_public_holidays=True
)
super(HrLeave, leave).action_validate()
return True
def _get_number_of_days(self, date_from, date_to, employee_id):
if self.holiday_status_id.exclude_public_holidays or not self.holiday_status_id:
instance = self.with_context(
employee_id=employee_id, exclude_public_holidays=True
)
else:
instance = self
return super(HrLeave, instance)._get_number_of_days(
date_from, date_to, employee_id
)
@api.depends("number_of_days")
def _compute_number_of_hours_display(self):
"""If the leave is validated, no call to `_get_number_of_days` is done, so we
need to inject the context here for including the public holidays if applicable.
For such cases, we need to serialize the call to super in fragments.
"""
to_serialize = self.filtered(
lambda x: x.state == "validate"
and x.holiday_status_id.exclude_public_holidays
)
for leave in to_serialize:
leave = leave.with_context(
exclude_public_holidays=True, employee_id=leave.employee_id.id
)
super(HrLeave, leave)._compute_number_of_hours_display()
return super(HrLeave, self - to_serialize)._compute_number_of_hours_display()
def _get_domain_from_get_unusual_days(self, date_from, date_to=None):
domain = [("date", ">=", date_from)]
# Use the employee of the user or the one who has the context
employee_id = self.env.context.get("employee_id", False)
employee = (
self.env["hr.employee"].browse(employee_id)
if employee_id
else self.env.user.employee_id
)
if date_to:
domain.append(
(
"date",
"<",
date_to,
)
)
country_id = employee.address_id.country_id.id
if not country_id:
country_id = self.env.company.country_id.id or False
if country_id:
domain.extend(
[
"|",
("year_id.country_id", "=", False),
("year_id.country_id", "=", country_id),
]
)
state_id = employee.address_id.state_id.id
if not state_id:
state_id = self.env.company.state_id.id or False
if state_id:
domain.extend(
[
"|",
("state_ids", "in", [state_id]),
("state_ids", "=", False),
]
)
return domain
@api.model
def get_unusual_days(self, date_from, date_to=None):
res = super().get_unusual_days(date_from, date_to=date_to)
domain = self._get_domain_from_get_unusual_days(
date_from=date_from, date_to=date_to
)
public_holidays = self.env["hr.holidays.public.line"].search(domain)
for public_holiday in public_holidays:
res[fields.Date.to_string(public_holiday.date)] = True
return res

View file

@ -0,0 +1,14 @@
# Copyright 2017-2018 Tecnativa - Pedro M. Baeza
# Copyright 2018 Brainbean Apps
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import fields, models
class HrLeaveType(models.Model):
_inherit = "hr.leave.type"
exclude_public_holidays = fields.Boolean(
default=True,
help=("If enabled, public holidays are skipped in leave days calculation."),
)

View file

@ -0,0 +1,22 @@
# Copyright 2025 Tecnativa - Víctor Martínez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import models
class ResPartner(models.Model):
_inherit = "res.partner"
def _compute_im_status(self):
res = super()._compute_im_status()
for item in self.filtered(
lambda x: x.user_ids.employee_id.is_public_holiday
and x.im_status != "im_partner"
and "leave_" not in x.im_status
):
item.im_status = (
item.user_ids.employee_id._get_im_status_hr_holidays_public(
item.im_status
)
)
return res

View file

@ -0,0 +1,18 @@
# Copyright 2025 Tecnativa - Víctor Martínez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import models
class User(models.Model):
_inherit = "res.users"
def _compute_im_status(self):
res = super()._compute_im_status()
for user in self.filtered(
lambda x: x.employee_id.is_public_holiday and "leave_" not in x.im_status
):
user.im_status = user.employee_id._get_im_status_hr_holidays_public(
user.im_status
)
return res

View file

@ -0,0 +1,46 @@
# Copyright 2017-2018 Tecnativa - Pedro M. Baeza
# Copyright 2018 Brainbean Apps
# Copyright 2020 InitOS Gmbh
# Copyright 2021 Tecnativa - Víctor Martínez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import models
from odoo.addons.resource.models.resource import Intervals
class ResourceCalendar(models.Model):
_inherit = "resource.calendar"
def _attendance_intervals_batch_exclude_public_holidays(
self, start_dt, end_dt, intervals, resources, tz
):
list_by_dates = (
self.env["hr.holidays.public"]
.get_holidays_list(
start_dt=start_dt.date(),
end_dt=end_dt.date(),
employee_id=self.env.context.get("employee_id", False),
)
.mapped("date")
)
for resource in resources:
interval_resource = intervals[resource.id]
attendances = []
for attendance in interval_resource._items:
if attendance[0].date() not in list_by_dates:
attendances.append(attendance)
intervals[resource.id] = Intervals(attendances)
return intervals
def _attendance_intervals_batch(
self, start_dt, end_dt, resources=None, domain=None, tz=None
):
res = super()._attendance_intervals_batch(
start_dt=start_dt, end_dt=end_dt, resources=resources, domain=domain, tz=tz
)
if self.env.context.get("exclude_public_holidays") and resources:
return self._attendance_intervals_batch_exclude_public_holidays(
start_dt, end_dt, res, resources, tz
)
return res

View file

@ -0,0 +1,3 @@
Go to *Time Off -> Configuration -> Time Off Types* and open a Leave Type
* Check "Exclude Public Holidays" to exclude public holidays.

View file

@ -0,0 +1,27 @@
* Michael Telahun Makonnen <mmakonnen@gmail.com>
* Fekete Mihai <feketemihai@gmail.com>
* Nikolina Todorova <nikolina.todorova@initos.com>
* Alexis de Lattre <alexis.delattre@akretion.com>
* Salton Massally (iDT Labs) <smassally@idtlabs.sl>
* Ivan Yelizariev <yelizariev@it-projects.info>
* Bassirou Ndaw <b.ndaw@ergobit.org>
* Dhara Solanki <dhara.solanki@initos.com>
* `Tecnativa <https://www.tecnativa.com>`__:
* Pedro M. Baeza
* `CorporateHub <https://corporatehub.eu/>`__
* Alexey Pelykh <alexey.pelykh@corphub.eu>
* `Camptocamp <https://www.camptocamp.com>`__:
* Damien Crier <damien.crier@camptocamp.com>
* `Druidoo <https://www.druidoo.io>`__:
* Iván Todorovich <ivan.todorovich@gmail.com>
* `Pesol <https://www.pesol.es>`__:
* Pedro Evaristo Gonzalez Sanchez <pedro.gonzalez@pesol.es>

View file

@ -0,0 +1,6 @@
This module handles public holidays.
The calculation of each leave can exclude rest public holiday, depending on
the leave type configuration.
In HR holiday app, public holiday will be displayed as unusual days (grey like weekends).

View file

@ -0,0 +1,16 @@
In Odoo 12.0, `_leave_intervals()` returns `Intervals` which is a list of
tuples (start_timestamp, end_timestamp, `resource.calendar.leaves` record).
Since this module does not operate with `resource.calendar.leaves`, it's
setting third component of a tuple to a `hr.holidays.public.line` record.
This may or may not be a problem, yet since this component is also being set to
`resource.calendar.attendance` records in `_attendance_intervals()`, seems it
should be ok.
There are no restrictions to block users from modifying or removing calendar
events linked to public holidays. There's a suggestion to overload `write` and
`unlink` methods of `calendar.event`, but it might have other impacts like
users not being able to edit event tags, or even custom fields.
Regional public holidays are shown in the public calendar. The regions will be
noted in the description of the event, but it'll be shown to all users. It'd
be good to have it show only for users in these regions.

View file

@ -0,0 +1,21 @@
For adding public holidays:
#. Go to the menu *Leaves > Public Holidays > Public Holidays*.
#. Create your public holidays.
For using public holidays on leaves:
#. Go to *Time Off > Dashboard*.
#. Select dragging on the calendar the days you want to be on leave, or go
to the form view for selecting start and end dates.
#. Select the proper "Leave Type" that has "Exclude Public Holidays" checked.
#. If no leave type is yet specified, then default configuration is to exclude
public holidays.
#. The number of days will be computed excluding public holidays that match the
selected employee, including global, country and state holidays.
#. If no employee is yet selected, only global holidays will be taken into
account.
In calendar views in HR holiday app public will be display
(likes other unusual days) according the current user employee country/state. If not set
the there is a fallback to the current company country/state to filter public holidays.

View file

@ -0,0 +1,6 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_hr_holidays_public_user,access_hr_holidays_public,model_hr_holidays_public,base.group_user,1,0,0,0
access_hr_holidays_public_manager,access_hr_holidays_public,model_hr_holidays_public,hr_holidays.group_hr_holidays_manager,1,1,1,1
access_hr_holidays_public_line_user,access_hr_holidays_public_line,model_hr_holidays_public_line,base.group_user,1,0,0,0
access_hr_holidays_public_line_manager,access_hr_holidays_public_line,model_hr_holidays_public_line,hr_holidays.group_hr_holidays_manager,1,1,1,1
access_hr_holidays_public_manager_next_year_wizard,access_hr_holidays_public_next_year_wizard,model_public_holidays_next_year_wizard,hr_holidays.group_hr_holidays_manager,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_hr_holidays_public_user access_hr_holidays_public model_hr_holidays_public base.group_user 1 0 0 0
3 access_hr_holidays_public_manager access_hr_holidays_public model_hr_holidays_public hr_holidays.group_hr_holidays_manager 1 1 1 1
4 access_hr_holidays_public_line_user access_hr_holidays_public_line model_hr_holidays_public_line base.group_user 1 0 0 0
5 access_hr_holidays_public_line_manager access_hr_holidays_public_line model_hr_holidays_public_line hr_holidays.group_hr_holidays_manager 1 1 1 1
6 access_hr_holidays_public_manager_next_year_wizard access_hr_holidays_public_next_year_wizard model_public_holidays_next_year_wizard hr_holidays.group_hr_holidays_manager 1 1 1 1

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 45 KiB

View file

@ -0,0 +1,514 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>README.rst</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
border: 0 }
table.borderless td, table.borderless th {
/* Override padding for "table.docutils td" with "! important".
The right padding separates the table cells. */
padding: 0 0.5em 0 0 ! important }
.first {
/* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {
margin-bottom: 0 ! important }
.hidden {
display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref {
text-decoration: none ;
color: black }
blockquote.epigraph {
margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden;
}
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
*/
div.abstract {
margin: 2em 5em }
div.abstract p.topic-title {
font-weight: bold ;
text-align: center }
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
margin: 2em ;
border: medium outset ;
padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
font-weight: bold ;
font-family: sans-serif }
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title, .code .error {
color: red ;
font-weight: bold ;
font-family: sans-serif }
/* Uncomment (and remove this text!) to get reduced vertical space in
compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
margin-bottom: 0.5em }
div.compound .compound-last, div.compound .compound-middle {
margin-top: 0.5em }
*/
div.dedication {
margin: 2em 5em ;
text-align: center ;
font-style: italic }
div.dedication p.topic-title {
font-weight: bold ;
font-style: normal }
div.figure {
margin-left: 2em ;
margin-right: 2em }
div.footer, div.header {
clear: both;
font-size: smaller }
div.line-block {
display: block ;
margin-top: 1em ;
margin-bottom: 1em }
div.line-block div.line-block {
margin-top: 0 ;
margin-bottom: 0 ;
margin-left: 1.5em }
div.sidebar {
margin: 0 0 0.5em 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
width: 40% ;
float: right ;
clear: right }
div.sidebar p.rubric {
font-family: sans-serif ;
font-size: medium }
div.system-messages {
margin: 5em }
div.system-messages h1 {
color: red }
div.system-message {
border: medium outset ;
padding: 1em }
div.system-message p.system-message-title {
color: red ;
font-weight: bold }
div.topic {
margin: 2em }
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
margin-top: 0.4em }
h1.title {
text-align: center }
h2.subtitle {
text-align: center }
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left, table.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right, table.align-right {
clear: right ;
float: right ;
margin-left: 1em }
img.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
.align-center {
clear: both ;
text-align: center }
.align-right {
text-align: right }
/* reset inner alignment in figures */
div.align-right {
text-align: inherit }
/* div.align-center * { */
/* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple {
margin-bottom: 1em }
ol.arabic {
list-style: decimal }
ol.loweralpha {
list-style: lower-alpha }
ol.upperalpha {
list-style: upper-alpha }
ol.lowerroman {
list-style: lower-roman }
ol.upperroman {
list-style: upper-roman }
p.attribution {
text-align: right ;
margin-left: 50% }
p.caption {
font-style: italic }
p.credits {
font-style: italic ;
font-size: smaller }
p.label {
white-space: nowrap }
p.rubric {
font-weight: bold ;
font-size: larger ;
color: maroon ;
text-align: center }
p.sidebar-title {
font-family: sans-serif ;
font-weight: bold ;
font-size: larger }
p.sidebar-subtitle {
font-family: sans-serif ;
font-weight: bold }
p.topic-title {
font-weight: bold }
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
font: inherit }
pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
pre.code .literal.string, code .literal.string { color: #0C5404 }
pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
span.classifier {
font-family: sans-serif ;
font-style: oblique }
span.classifier-delimiter {
font-family: sans-serif ;
font-weight: bold }
span.interpreted {
font-family: sans-serif }
span.option {
white-space: nowrap }
span.pre {
white-space: pre }
span.problematic, pre.problematic {
color: red }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
table.citation {
border-left: solid 1px gray;
margin-left: 1px }
table.docinfo {
margin: 2em 4em }
table.docutils {
margin-top: 0.5em ;
margin-bottom: 0.5em }
table.footnote {
border-left: solid 1px black;
margin-left: 1px }
table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
padding-left: 0.5em ;
padding-right: 0.5em ;
vertical-align: top }
table.docutils th.field-name, table.docinfo th.docinfo-name {
font-weight: bold ;
text-align: left ;
white-space: nowrap ;
padding-left: 0 }
/* "booktabs" style (no vertical lines) */
table.docutils.booktabs {
border: 0px;
border-top: 2px solid;
border-bottom: 2px solid;
border-collapse: collapse;
}
table.docutils.booktabs * {
border: 0px;
}
table.docutils.booktabs th {
border-bottom: thin solid;
text-align: left;
}
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
ul.auto-toc {
list-style-type: none }
</style>
</head>
<body>
<div class="document">
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
</a>
<div class="section" id="hr-holidays-public">
<h1>HR Holidays Public</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:62156f784ef56c34a7380db5d2243666137cb0e78b391a4418ceacb10e1c0b41
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_public"><img alt="OCA/hr-holidays" src="https://img.shields.io/badge/github-OCA%2Fhr--holidays-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/hr-holidays-16-0/hr-holidays-16-0-hr_holidays_public"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/hr-holidays&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module handles public holidays.</p>
<p>The calculation of each leave can exclude rest public holiday, depending on
the leave type configuration.</p>
<p>In HR holiday app, public holiday will be displayed as unusual days (grey like weekends).</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
<li><a class="reference internal" href="#usage" id="toc-entry-2">Usage</a></li>
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-3">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-4">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-5">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-6">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-7">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-8">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="configuration">
<h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
<p>Go to <em>Time Off -&gt; Configuration -&gt; Time Off Types</em> and open a Leave Type</p>
<ul class="simple">
<li>Check “Exclude Public Holidays” to exclude public holidays.</li>
</ul>
</div>
<div class="section" id="usage">
<h2><a class="toc-backref" href="#toc-entry-2">Usage</a></h2>
<p>For adding public holidays:</p>
<ol class="arabic simple">
<li>Go to the menu <em>Leaves &gt; Public Holidays &gt; Public Holidays</em>.</li>
<li>Create your public holidays.</li>
</ol>
<p>For using public holidays on leaves:</p>
<ol class="arabic simple">
<li>Go to <em>Time Off &gt; Dashboard</em>.</li>
<li>Select dragging on the calendar the days you want to be on leave, or go
to the form view for selecting start and end dates.</li>
<li>Select the proper “Leave Type” that has “Exclude Public Holidays” checked.</li>
<li>If no leave type is yet specified, then default configuration is to exclude
public holidays.</li>
<li>The number of days will be computed excluding public holidays that match the
selected employee, including global, country and state holidays.</li>
<li>If no employee is yet selected, only global holidays will be taken into
account.</li>
</ol>
<p>In calendar views in HR holiday app public will be display
(likes other unusual days) according the current user employee country/state. If not set
the there is a fallback to the current company country/state to filter public holidays.</p>
</div>
<div class="section" id="known-issues-roadmap">
<h2><a class="toc-backref" href="#toc-entry-3">Known issues / Roadmap</a></h2>
<p>In Odoo 12.0, <cite>_leave_intervals()</cite> returns <cite>Intervals</cite> which is a list of
tuples (start_timestamp, end_timestamp, <cite>resource.calendar.leaves</cite> record).
Since this module does not operate with <cite>resource.calendar.leaves</cite>, its
setting third component of a tuple to a <cite>hr.holidays.public.line</cite> record.
This may or may not be a problem, yet since this component is also being set to
<cite>resource.calendar.attendance</cite> records in <cite>_attendance_intervals()</cite>, seems it
should be ok.</p>
<p>There are no restrictions to block users from modifying or removing calendar
events linked to public holidays. Theres a suggestion to overload <cite>write</cite> and
<cite>unlink</cite> methods of <cite>calendar.event</cite>, but it might have other impacts like
users not being able to edit event tags, or even custom fields.</p>
<p>Regional public holidays are shown in the public calendar. The regions will be
noted in the description of the event, but itll be shown to all users. Itd
be good to have it show only for users in these regions.</p>
</div>
<div class="section" id="bug-tracker">
<h2><a class="toc-backref" href="#toc-entry-4">Bug Tracker</a></h2>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/hr-holidays/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/hr-holidays/issues/new?body=module:%20hr_holidays_public%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h2><a class="toc-backref" href="#toc-entry-5">Credits</a></h2>
<div class="section" id="authors">
<h3><a class="toc-backref" href="#toc-entry-6">Authors</a></h3>
<ul class="simple">
<li>Michael Telahun Makonnen</li>
<li>Tecnativa</li>
<li>Fekete Mihai (Forest and Biomass Services Romania)</li>
<li>Druidoo</li>
<li></li>
</ul>
</div>
<div class="section" id="contributors">
<h3><a class="toc-backref" href="#toc-entry-7">Contributors</a></h3>
<ul class="simple">
<li>Michael Telahun Makonnen &lt;<a class="reference external" href="mailto:mmakonnen&#64;gmail.com">mmakonnen&#64;gmail.com</a>&gt;</li>
<li>Fekete Mihai &lt;<a class="reference external" href="mailto:feketemihai&#64;gmail.com">feketemihai&#64;gmail.com</a>&gt;</li>
<li>Nikolina Todorova &lt;<a class="reference external" href="mailto:nikolina.todorova&#64;initos.com">nikolina.todorova&#64;initos.com</a>&gt;</li>
<li>Alexis de Lattre &lt;<a class="reference external" href="mailto:alexis.delattre&#64;akretion.com">alexis.delattre&#64;akretion.com</a>&gt;</li>
<li>Salton Massally (iDT Labs) &lt;<a class="reference external" href="mailto:smassally&#64;idtlabs.sl">smassally&#64;idtlabs.sl</a>&gt;</li>
<li>Ivan Yelizariev &lt;<a class="reference external" href="mailto:yelizariev&#64;it-projects.info">yelizariev&#64;it-projects.info</a>&gt;</li>
<li>Bassirou Ndaw &lt;<a class="reference external" href="mailto:b.ndaw&#64;ergobit.org">b.ndaw&#64;ergobit.org</a>&gt;</li>
<li>Dhara Solanki &lt;<a class="reference external" href="mailto:dhara.solanki&#64;initos.com">dhara.solanki&#64;initos.com</a>&gt;</li>
<li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul>
<li>Pedro M. Baeza</li>
</ul>
</li>
<li><a class="reference external" href="https://corporatehub.eu/">CorporateHub</a><ul>
<li>Alexey Pelykh &lt;<a class="reference external" href="mailto:alexey.pelykh&#64;corphub.eu">alexey.pelykh&#64;corphub.eu</a>&gt;</li>
</ul>
</li>
<li><a class="reference external" href="https://www.camptocamp.com">Camptocamp</a>:<ul>
<li>Damien Crier &lt;<a class="reference external" href="mailto:damien.crier&#64;camptocamp.com">damien.crier&#64;camptocamp.com</a>&gt;</li>
</ul>
</li>
<li><a class="reference external" href="https://www.druidoo.io">Druidoo</a>:<ul>
<li>Iván Todorovich &lt;<a class="reference external" href="mailto:ivan.todorovich&#64;gmail.com">ivan.todorovich&#64;gmail.com</a>&gt;</li>
</ul>
</li>
<li><a class="reference external" href="https://www.pesol.es">Pesol</a>:<ul>
<li>Pedro Evaristo Gonzalez Sanchez &lt;<a class="reference external" href="mailto:pedro.gonzalez&#64;pesol.es">pedro.gonzalez&#64;pesol.es</a>&gt;</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
<h3><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h3>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
</a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/hr-holidays/tree/16.0/hr_holidays_public">OCA/hr-holidays</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,4 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from . import test_holidays_calculation
from . import test_holidays_public

View file

@ -0,0 +1,191 @@
# Copyright 2015 iDT LABS (http://www.@idtlabs.sl)
# Copyright 2017-2018 Tecnativa - Pedro M. Baeza
# Copyright 2018 Brainbean Apps
# Copyright 2020 InitOS Gmbh
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo.tests.common import TransactionCase
from odoo.addons.base.tests.common import DISABLED_MAIL_CONTEXT
class TestHolidaysComputeDaysBase(TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT))
cls.HrLeave = cls.env["hr.leave"]
cls.HrLeaveType = cls.env["hr.leave.type"]
cls.HrHolidaysPublic = cls.env["hr.holidays.public"]
cls.calendar = cls.env["resource.calendar"].create(
{"name": "Calendar", "attendance_ids": []}
)
for day in range(5): # From monday to friday
cls.calendar.attendance_ids = [
(
0,
0,
{
"name": "Attendance",
"dayofweek": str(day),
"hour_from": "08",
"hour_to": "12",
},
),
(
0,
0,
{
"name": "Attendance",
"dayofweek": str(day),
"hour_from": "14",
"hour_to": "18",
},
),
]
cls.address_1 = cls.env["res.partner"].create(
{"name": "Address 1", "country_id": cls.env.ref("base.uk").id}
)
cls.address_2 = cls.env["res.partner"].create(
{
"name": "Address 1",
"country_id": cls.env.ref("base.es").id,
"state_id": cls.env.ref("base.state_es_cr").id,
}
)
cls.employee_1 = cls.env["hr.employee"].create(
{
"name": "Employee 1",
"resource_calendar_id": cls.calendar.id,
"address_id": cls.address_1.id,
}
)
cls.employee_2 = cls.env["hr.employee"].create(
{
"name": "Employee 2",
"resource_calendar_id": cls.calendar.id,
"address_id": cls.address_2.id,
}
)
# Use a very old year for avoiding to collapse with current data
cls.public_holiday_global = cls.HrHolidaysPublic.create(
{
"year": 1946,
"line_ids": [(0, 0, {"name": "Christmas", "date": "1946-12-25"})],
}
)
cls.public_holiday_country = cls.HrHolidaysPublic.create(
{
"year": 1946,
"country_id": cls.address_2.country_id.id,
"line_ids": [
(0, 0, {"name": "Before Christmas", "date": "1946-12-24"}),
(
0,
0,
{
"name": "Even More Before Christmas",
"date": "1946-12-23",
"state_ids": [(6, 0, cls.address_2.state_id.ids)],
},
),
],
}
)
cls.public_holiday_global_1947 = cls.HrHolidaysPublic.create(
{
"year": 1947,
"line_ids": [
(0, 0, {"name": "New Eve", "date": "1947-01-01"}),
(0, 0, {"name": "New Eve extended", "date": "1947-01-02"}),
],
}
)
cls.holiday_type = cls.HrLeaveType.create(
{"name": "Leave Type Test", "exclude_public_holidays": True}
)
cls.holiday_type_no_excludes = cls.HrLeaveType.create(
{
"name": "Leave Type Test Without excludes",
"exclude_public_holidays": False,
}
)
class TestHolidaysComputeDays(TestHolidaysComputeDaysBase):
def test_number_days_excluding_employee_1(self):
leave_request = self.HrLeave.new(
{
"date_from": "1946-12-23 00:00:00", # Monday
"date_to": "1946-12-29 23:59:59", # Sunday
"holiday_status_id": self.holiday_type.id,
"employee_id": self.employee_1.id,
}
)
leave_request._compute_number_of_days()
self.assertEqual(leave_request.number_of_days, 4)
def _test_number_days_excluding_employee_2(self):
leave_request = self.HrLeave.new(
{
"date_from": "1946-12-23 00:00:00", # Monday
"date_to": "1946-12-29 23:59:59", # Sunday
"holiday_status_id": self.holiday_type.id,
"employee_id": self.employee_2.id,
}
)
leave_request._compute_number_of_days()
self.assertEqual(leave_request.number_of_days, 2)
def test_number_days_not_excluding(self):
leave_request = self.HrLeave.new(
{
"date_from": "1946-12-23 00:00:00", # Monday
"date_to": "1946-12-29 23:59:59", # Sunday
"holiday_status_id": self.holiday_type_no_excludes.id,
"employee_id": self.employee_1.id,
}
)
leave_request._compute_number_of_days()
self.assertEqual(leave_request.number_of_days, 5)
def test_number_days_across_year(self):
leave_request = self.HrLeave.new(
{
"date_from": "1946-12-23 00:00:00", # Monday
"date_to": "1947-01-03 23:59:59", # Friday
"holiday_status_id": self.holiday_type.id,
"employee_id": self.employee_1.id,
}
)
leave_request._compute_number_of_days()
self.assertEqual(leave_request.number_of_days, 7)
def test_number_days_across_year_2(self):
leave_request = self.HrLeave.new(
{
"date_from": "1946-12-23 00:00:00", # Monday
"date_to": "1947-01-03 23:59:59", # Friday
"holiday_status_id": self.holiday_type.id,
"employee_id": self.employee_2.id,
}
)
leave_request._compute_number_of_days()
self.assertEqual(leave_request.number_of_days, 5)
def test_number_of_hours_excluding_employee_2(self):
self.holiday_type.request_unit = "hour"
leave_request = self.HrLeave.new(
{
"date_from": "1946-12-23 00:00:00", # Monday
"date_to": "1946-12-29 23:59:59", # Sunday
"holiday_status_id": self.holiday_type.id,
"employee_id": self.employee_2.id,
}
)
leave_request.action_validate()
self.assertEqual(leave_request.number_of_days, 2)
self.assertEqual(leave_request.number_of_hours_display, 16)

View file

@ -0,0 +1,343 @@
# Copyright 2015 Salton Massally <smassally@idtlabs.sl>
# Copyright 2018 Brainbean Apps (https://brainbeanapps.com)
# Copyright 2025 Tecnativa - Víctor Martínez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from datetime import date
from freezegun import freeze_time
from odoo.exceptions import UserError, ValidationError
from odoo.tests import new_test_user
from odoo.addons.base.tests.common import BaseCommon
class TestHolidaysPublicBase(BaseCommon):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.holiday_model = cls.env["hr.holidays.public"]
cls.holiday_model_line = cls.env["hr.holidays.public.line"]
cls.employee_model = cls.env["hr.employee"]
cls.wizard_next_year = cls.env["public.holidays.next.year.wizard"]
cls.leave_model = cls.env["hr.leave"]
# Remove possibly existing public holidays that would interfer.
cls.holiday_model_line.search([]).unlink()
cls.holiday_model.search([]).unlink()
# Create holidays
holiday2 = cls.holiday_model.create(
{"year": 1994, "country_id": cls.env.ref("base.sl").id}
)
cls.holiday_model_line.create(
{"name": "holiday 5", "date": "1994-10-14", "year_id": holiday2.id}
)
holiday3 = cls.holiday_model.create(
{"year": 1994, "country_id": cls.env.ref("base.sk").id}
)
cls.holiday_model_line.create(
{"name": "holiday 6", "date": "1994-11-14", "year_id": holiday3.id}
)
cls.holiday1 = cls.holiday_model.create({"year": 1995})
for dt in ["1995-10-14", "1995-12-31", "1995-01-01"]:
cls.holiday_model_line.create(
{"name": "holiday x", "date": dt, "year_id": cls.holiday1.id}
)
cls.employee = cls.employee_model.create(
{
"name": "Employee 1",
"address_id": cls.env["res.partner"]
.create({"name": "Employee 1", "country_id": cls.env.ref("base.sl").id})
.id,
}
)
class TestHolidaysPublic(TestHolidaysPublicBase):
def test_name_get(self):
hol = self.holiday_model.create({"year": 1999})
hol_name = hol.name_get()[0]
self.assertEqual(hol_name, (hol.id, str(hol.year)))
def test_duplicate_year_country_fail(self):
# ensures that duplicate year cannot be created for the same country
with self.assertRaises(ValidationError):
self.holiday_model.create({"year": 1995})
with self.assertRaises(ValidationError):
self.holiday_model.create(
{"year": 1994, "country_id": self.env.ref("base.sl").id}
)
def test_duplicate_date_state_fail(self):
# ensures that duplicate date cannot be created for the same country
# state or with state null
holiday4 = self.holiday_model.create(
{"year": 1994, "country_id": self.env.ref("base.us").id}
)
hline = self.holiday_model_line.create(
{"name": "holiday x", "date": "1994-11-14", "year_id": holiday4.id}
)
with self.assertRaises(ValidationError):
self.holiday_model_line.create(
{"name": "holiday x", "date": "1994-11-14", "year_id": holiday4.id}
)
hline.state_ids = [(6, 0, [self.env.ref("base.state_us_35").id])]
with self.assertRaises(ValidationError):
self.holiday_model_line.create(
{
"name": "holiday x",
"date": "1994-11-14",
"year_id": holiday4.id,
"state_ids": [(6, 0, [self.env.ref("base.state_us_35").id])],
}
)
def test_isnot_holiday(self):
# ensures that if given a date that is not an holiday it returns none
self.assertFalse(self.holiday_model.is_public_holiday(date(1995, 12, 10)))
def test_is_holiday(self):
# ensures that correct holidays are identified
self.assertTrue(self.holiday_model.is_public_holiday(date(1995, 10, 14)))
def test_isnot_holiday_in_country(self):
# ensures that correct holidays are identified for a country
self.assertFalse(
self.holiday_model.is_public_holiday(
date(1994, 11, 14), employee_id=self.employee.id
)
)
def test_is_holiday_in_country(self):
# ensures that correct holidays are identified for a country
self.assertTrue(
self.holiday_model.is_public_holiday(
date(1994, 10, 14), employee_id=self.employee.id
)
)
def test_holiday_line_year(self):
# ensures that line year and holiday year are the same
holiday4 = self.holiday_model.create({"year": 1994})
with self.assertRaises(ValidationError):
self.holiday_model_line.create(
{"name": "holiday x", "date": "1995-11-14", "year_id": holiday4.id}
)
def test_list_holidays_in_list_country_specific(self):
# ensures that correct holidays are identified for a country
lines = self.holiday_model.get_holidays_list(1994, employee_id=self.employee.id)
res = lines.filtered(lambda r: r.date == date(1994, 10, 14))
self.assertEqual(len(res), 1)
self.assertEqual(len(lines), 1)
def test_list_holidays_in_list(self):
# ensures that correct holidays are identified for a country
lines = self.holiday_model.get_holidays_list(1995)
res = lines.filtered(lambda r: r.date == date(1995, 10, 14))
self.assertEqual(len(res), 1)
self.assertEqual(len(lines), 3)
def test_create_next_year_public_holidays(self):
old_meeting = self.holiday1.line_ids[0].meeting_id
self.wizard_next_year.new().create_public_holidays()
# Ensure that the previous meeting date is preserved
self.assertEqual(old_meeting.start.year, 1995)
lines = self.holiday_model.get_holidays_list(1996)
# The meeting is not the same for the new entries
self.assertFalse(any(x.meeting_id == old_meeting for x in lines))
# There's a meeting for the new entries
self.assertTrue(lines[0].meeting_id)
self.assertEqual(lines[0].meeting_id.start.year, 1996)
res = lines.filtered(lambda r: r.date == date(1996, 10, 14))
self.assertEqual(len(res), 1)
self.assertEqual(len(lines), 3)
def test_create_year_2000_public_holidays(self):
ph_start_ids = self.holiday_model.search([("year", "=", 1994)])
val = {"template_ids": ph_start_ids, "year": 2000}
wz_create_ph = self.wizard_next_year.new(values=val)
wz_create_ph.create_public_holidays()
lines = self.holiday_model.get_holidays_list(2000)
self.assertEqual(len(lines), 2)
res = lines.filtered(
lambda r: r.year_id.country_id.id == self.env.ref("base.sl").id
)
self.assertEqual(len(res), 1)
def test_february_29th(self):
# Ensures that users get a UserError (not a nasty Exception) when
# trying to create public holidays from year including 29th of
# February
holiday_tw_2016 = self.holiday_model.create(
{"year": 2016, "country_id": self.env.ref("base.tw").id}
)
self.holiday_model_line.create(
{
"name": "Peace Memorial Holiday",
"date": "2016-02-29",
"year_id": holiday_tw_2016.id,
}
)
val = {"template_ids": holiday_tw_2016}
wz_create_ph = self.wizard_next_year.new(values=val)
with self.assertRaises(UserError):
wz_create_ph.create_public_holidays()
def test_calendar_event_created(self):
holiday = self.holiday_model.create(
{"year": 2019, "country_id": self.env.ref("base.us").id}
)
hline = self.holiday_model_line.create(
{"name": "holiday x", "date": "2019-07-30", "year_id": holiday.id}
)
meeting_id = hline.meeting_id
self.assertTrue(meeting_id)
hline.unlink()
self.assertFalse(meeting_id.exists())
def assertPublicHolidayIsUnusualDay(
self, expected, country_id=None, state_ids=False
):
self.assertFalse(
self.leave_model.with_user(self.env.ref("base.user_demo").id)
.get_unusual_days("2019-07-01", date_to="2019-07-31")
.get("2019-07-30", False)
)
holiday = self.holiday_model.create({"year": 2019, "country_id": country_id})
self.holiday_model_line.create(
{
"name": "holiday x",
"date": "2019-07-30",
"year_id": holiday.id,
"state_ids": state_ids,
}
)
self.assertEqual(
self.leave_model.with_user(
self.env.ref("base.user_demo").id
).get_unusual_days("2019-07-01", date_to="2019-07-31")["2019-07-30"],
expected,
)
def test_public_holidays_context(self):
self.env.ref("base.user_demo").employee_id.address_id.country_id = False
self.leave_model = self.leave_model.with_context(employee_id=self.employee.id)
self.assertPublicHolidayIsUnusualDay(
True,
country_id=self.env.ref(
"base.user_demo"
).employee_id.address_id.country_id.id,
)
def test_get_unusual_days_return_public_holidays_same_country(self):
self.env.ref("base.user_demo").employee_id.address_id.state_id = False
self.env.company.state_id = False
self.assertPublicHolidayIsUnusualDay(
True,
country_id=self.env.ref(
"base.user_demo"
).employee_id.address_id.country_id.id,
)
def test_get_unusual_days_return_general_public_holidays(self):
self.env.ref("base.user_demo").employee_id.address_id.state_id = False
self.env.company.state_id = False
self.assertPublicHolidayIsUnusualDay(True, country_id=False)
def test_get_unusual_days_not_return_public_holidays_different_country(self):
self.env.ref("base.user_demo").employee_id.address_id.state_id = False
self.env.company.state_id = False
self.env.ref("base.user_demo").employee_id.address_id.country_id = self.env.ref(
"base.fr"
)
self.assertPublicHolidayIsUnusualDay(
False, country_id=self.env.ref("base.us").id
)
def test_get_unusual_days_return_public_holidays_fallback_to_company_country(self):
self.env.ref("base.user_demo").employee_id.address_id.state_id = False
self.env.company.state_id = False
self.env.ref("base.user_demo").employee_id.address_id.country_id = False
self.assertPublicHolidayIsUnusualDay(
True, country_id=self.env.company.country_id.id
)
def test_get_unusual_days_not_return_public_holidays_fallback_to_company_country(
self,
):
self.env.ref("base.user_demo").employee_id.address_id.state_id = False
self.env.company.state_id = False
self.env.ref("base.user_demo").employee_id.address_id.country_id = False
self.env.company.country_id = self.env.ref("base.fr")
self.assertPublicHolidayIsUnusualDay(
False, country_id=self.env.ref("base.us").id
)
def test_get_unusual_days_return_public_holidays_same_state(self):
demo_user_empl_addr = self.env.ref("base.user_demo").employee_id.address_id
demo_user_empl_addr.country_id = self.env.ref("base.us")
demo_user_empl_addr.state_id = self.env.ref("base.state_us_4")
self.assertPublicHolidayIsUnusualDay(
True,
country_id=self.env.ref(
"base.user_demo"
).employee_id.address_id.country_id.id,
state_ids=[(6, 0, [demo_user_empl_addr.state_id.id])],
)
def test_get_unusual_days_not_return_public_holidays_different_state(self):
demo_user_empl_addr = self.env.ref("base.user_demo").employee_id.address_id
demo_user_empl_addr.country_id = self.env.ref("base.us")
demo_user_empl_addr.state_id = self.env.ref("base.state_us_4")
self.assertPublicHolidayIsUnusualDay(
False,
country_id=self.env.ref("base.us").id,
state_ids=[(6, 0, [self.env.ref("base.state_us_35").id])],
)
def test_get_unusual_days_return_public_holidays_fallback_to_company_state(self):
self.env.ref("base.user_demo").employee_id = False
self.assertPublicHolidayIsUnusualDay(
True,
country_id=self.env.company.country_id.id,
state_ids=[(6, 0, [self.env.company.state_id.id])],
)
def test_get_unusual_days_not_return_public_holidays_fallback_to_company_state(
self,
):
demo_user_empl_addr = self.env.ref("base.user_demo").employee_id.address_id
demo_user_empl_addr.country_id = self.env.ref("base.us")
demo_user_empl_addr.state_id = False
self.env.company.state_id = self.env.ref("base.state_us_4")
self.assertPublicHolidayIsUnusualDay(
False,
country_id=demo_user_empl_addr.country_id.id,
state_ids=[(6, 0, [self.env.ref("base.state_us_3").id])],
)
@freeze_time("1994-10-14")
def test_user_im_status(self):
self.assertTrue(self.employee.is_public_holiday)
self.assertEqual(self.employee.hr_icon_display, "presence_holiday_absent")
self.assertTrue(self.employee.is_absent)
user = new_test_user(self.env, login="test-user")
self.assertEqual(user.im_status, "offline")
self.assertEqual(user.partner_id.im_status, "offline")
self.employee.user_id = user
user.invalidate_recordset()
self.assertEqual(user.im_status, "leave_offline")
user.partner_id.invalidate_recordset()
self.assertEqual(user.partner_id.im_status, "leave_offline")

View file

@ -0,0 +1,64 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="view_holidays_public_tree" model="ir.ui.view">
<field name="name">hr.holidays.public.tree</field>
<field name="model">hr.holidays.public</field>
<field name="arch" type="xml">
<tree>
<field name="display_name" />
<field name="country_id" />
</tree>
</field>
</record>
<record id="view_holidays_public_form" model="ir.ui.view">
<field name="name">hr.holidays.public.form</field>
<field name="model">hr.holidays.public</field>
<field name="arch" type="xml">
<form string="Public Holidays">
<group name="group_main">
<group name="group_main_left">
<field name="year" />
<field name="country_id" />
</group>
<group name="group_main_right">
<!-- Left empty for extensions -->
</group>
</group>
<separator string="Public Holidays" name="group_detail" />
<field name="line_ids" nolabel="1">
<tree editable="top">
<field
name="date"
attrs="{'readonly':[['variable_date', '=', False]]}"
force_save="1"
/>
<field name="name" />
<field
name="state_ids"
widget="many2many_tags"
domain="[('country_id','=',parent.country_id)]"
/>
<field name="variable_date" />
</tree>
</field>
</form>
</field>
</record>
<record id="open_holidays_public_view" model="ir.actions.act_window">
<field name="name">Public Holidays</field>
<field name="res_model">hr.holidays.public</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem
id="menu_hr_public_holidays"
name="Public Holidays"
parent="hr_holidays.menu_hr_holidays_root"
sequence="20"
/>
<menuitem
action="open_holidays_public_view"
id="menu_holidays_public_view"
parent="menu_hr_public_holidays"
sequence="10"
/>
</odoo>

View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<!--
Copyright 2018 Brainbean Apps (https://brainbeanapps.com)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-->
<record id="edit_holiday_status_form" model="ir.ui.view">
<field name="name">hr.leave.type.form</field>
<field name="model">hr.leave.type</field>
<field name="inherit_id" ref="hr_holidays.edit_holiday_status_form" />
<field name="arch" type="xml">
<xpath expr="//group[@name='allocation_validation']" position="after">
<group name="public_holidays" string="Public Holidays">
<field name="exclude_public_holidays" />
</group>
</xpath>
</field>
</record>
</odoo>

View file

@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from . import holidays_public_next_year_wizard

View file

@ -0,0 +1,100 @@
# Copyright 2016 Trobz
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
import logging
from odoo import _, fields, models
from odoo.exceptions import UserError
_logger = logging.getLogger(__name__)
class HolidaysPublicNextYearWizard(models.TransientModel):
_name = "public.holidays.next.year.wizard"
_description = "Creates public holidays from existing ones"
template_ids = fields.Many2many(
comodel_name="hr.holidays.public",
string="Templates",
help="Select the public holidays to use as template. "
"If not set, latest public holidays of each country will be used. "
"Only the last templates of each country for each year will "
"be taken into account (If you select templates from 2012 and 2015, "
"only the templates from 2015 will be taken into account.",
)
year = fields.Integer(
help="Year for which you want to create the public holidays. "
"By default, the year following the template."
)
def create_public_holidays(self):
self.ensure_one()
last_ph_dict = {}
ph_env = self.env["hr.holidays.public"]
pholidays = self.template_ids or ph_env.search([])
if not pholidays:
raise UserError(
_(
"No Public Holidays found as template. "
"Please create the first Public Holidays manually."
)
)
for ph in pholidays:
last_ph_country = last_ph_dict.get(ph.country_id, False)
if last_ph_country:
if last_ph_country.year < ph.year:
last_ph_dict[ph.country_id] = ph
else:
last_ph_dict[ph.country_id] = ph
new_ph_ids = []
for last_ph in last_ph_dict.values():
new_year = self.year or last_ph.year + 1
new_ph_vals = {"year": new_year}
new_ph = last_ph.copy(new_ph_vals)
new_ph_ids.append(new_ph.id)
for last_ph_line in last_ph.line_ids:
feb_29 = last_ph_line.date.month == 2 and last_ph_line.date.day == 29
if feb_29:
# Handling this rare case would mean quite a lot of
# complexity because previous or next day might also be a
# public holiday.
raise UserError(
_(
"You cannot use as template the public holidays "
"of a year that "
"includes public holidays on 29th of February "
"(2016, 2020...), please select a template from "
"another year."
)
)
new_date = last_ph_line.date.replace(year=new_year)
new_ph_line_vals = {"date": new_date, "year_id": new_ph.id}
last_ph_line.copy(new_ph_line_vals)
domain = [["id", "in", new_ph_ids]]
action = {
"type": "ir.actions.act_window",
"name": "New public holidays",
"view_mode": "tree,form",
"res_model": "hr.holidays.public",
"domain": domain,
}
return action

View file

@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2016 Trobz
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="holidays_public_next_year_wizard_view" model="ir.ui.view">
<field name="name">Create Next Year Public Holidays</field>
<field name="model">public.holidays.next.year.wizard</field>
<field name="arch" type="xml">
<form string="Create Next Year Public Holidays">
<sheet>
<div>
Use this wizard to create public holidays based on the
existing ones.<br />
Only the last templates of each country
will be taken into account (If you select templates
from 2012 and 2015 of the same country; '
only the templates from 2015 will be taken into
account).
</div>
<notebook>
<page name="defaults" string="Defaults">
<div>
By default, the most recent public holidays
for each country are used as template to create
public holidays for the year following the templates.
<br /><br />
Normally, you should not need to input anything in
optional fields and only need to click on the button
"Create".
</div>
</page>
<page name="optional" string="Optional">
<div>
The below optional fields are here only to handle
special situations like "2011 was a special year with
an additional public holiday for the 150th
anniversary of the Italian unification, so you want to
replicate the 2010 Italian holidays to 2012."
</div>
<group>
<field name="template_ids" />
<field name="year" />
</group>
</page>
</notebook>
</sheet>
<footer>
<button
name="create_public_holidays"
string="Create"
type="object"
class="btn-primary"
/>
<button string="Cancel" class="btn-default" special="cancel" />
</footer>
</form>
</field>
</record>
<record id="action_create_next_year_public_holidays" model="ir.actions.act_window">
<field name="name">Create Next Year Public Holidays</field>
<field name="res_model">public.holidays.next.year.wizard</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<menuitem
action="action_create_next_year_public_holidays"
id="menu_create_next_year_public_holidays"
parent="menu_hr_public_holidays"
groups="hr_holidays.group_hr_holidays_manager"
sequence="30"
/>
</odoo>

View file

@ -0,0 +1,42 @@
[project]
name = "odoo-bringout-oca-hr-holidays-hr_holidays_public"
version = "16.0.0"
description = "HR Holidays Public - Manage Public Holidays"
authors = [
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
]
dependencies = [
"odoo-bringout-oca-hr-holidays-hr_holidays>=16.0.0",
"requests>=2.25.1"
]
readme = "README.md"
requires-python = ">= 3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business",
]
[project.urls]
homepage = "https://github.com/bringout/0"
repository = "https://github.com/bringout/0"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["hr_holidays_public"]
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.4.1",
]