From eb615ee76bba13ce21e1c4ae2d91e8b727701c01 Mon Sep 17 00:00:00 2001 From: Fekete Mihai Date: Sun, 12 Nov 2017 06:53:41 -0800 Subject: [PATCH 01/76] Update hr public holidays code to 11. Add correct calculation of holidays in hr_public_holidays, instead of hr_holidays_compute_days. Remove dependancy of contracts. Add unlink at onchnage of public holiday lines. Update code. Fix flake. Update code, add calculation in hours, update views. Update flake. Update calendar creation with no attendances, otherwise default values were set. Remove config of show days/hours. Update flake. Update readme. Rename module. Updated holiday reports. Update klake and pylint. Update flaket. Update hr_holidays_views.xml Add readonly to show_full_days. Update code according with comments. Increase coverage. update flake8. --- hr_holidays_public/README.rst | 89 ++++++ hr_holidays_public/__init__.py | 3 + hr_holidays_public/__manifest__.py | 27 ++ hr_holidays_public/i18n/ar.po | 257 +++++++++++++++++ hr_holidays_public/i18n/de.po | 263 ++++++++++++++++++ hr_holidays_public/i18n/es.po | 261 +++++++++++++++++ hr_holidays_public/i18n/fi.po | 256 +++++++++++++++++ hr_holidays_public/i18n/fr.po | 259 +++++++++++++++++ hr_holidays_public/i18n/hr.po | 260 +++++++++++++++++ hr_holidays_public/i18n/hr_HR.po | 259 +++++++++++++++++ hr_holidays_public/i18n/it.po | 256 +++++++++++++++++ hr_holidays_public/i18n/nl_NL.po | 256 +++++++++++++++++ hr_holidays_public/i18n/pl.po | 256 +++++++++++++++++ hr_holidays_public/i18n/pt_BR.po | 256 +++++++++++++++++ hr_holidays_public/i18n/ro.po | 256 +++++++++++++++++ hr_holidays_public/i18n/sl.po | 256 +++++++++++++++++ hr_holidays_public/models/__init__.py | 6 + hr_holidays_public/models/hr_employee.py | 55 ++++ hr_holidays_public/models/hr_holidays.py | 103 +++++++ .../models/hr_holidays_status.py | 28 ++ .../models/hr_public_holidays.py | 131 +++++++++ .../models/hr_public_holidays_line.py | 72 +++++ hr_holidays_public/models/resource.py | 79 ++++++ hr_holidays_public/report/__init__.py | 2 + .../report/holidays_summary_report.py | 83 ++++++ .../report/hr_holidays_leaves_report.py | 35 +++ .../hr_holidays_leaves_report_views.xml | 26 ++ .../report/hr_holidays_templates.xml | 10 + .../report/hr_holidays_views.xml | 25 ++ .../security/ir.model.access.csv | 5 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/icon.svg | 79 ++++++ hr_holidays_public/tests/__init__.py | 2 + .../tests/test_holidays_calculation.py | 176 ++++++++++++ .../tests/test_public_holidays.py | 224 +++++++++++++++ .../views/hr_holidays_status_views.xml | 18 ++ .../views/hr_holidays_views.xml | 106 +++++++ .../views/hr_public_holidays_view.xml | 57 ++++ hr_holidays_public/wizards/__init__.py | 1 + .../public_holidays_next_year_wizard.py | 103 +++++++ .../public_holidays_next_year_wizard.xml | 74 +++++ 41 files changed, 4970 insertions(+) create mode 100644 hr_holidays_public/README.rst create mode 100644 hr_holidays_public/__init__.py create mode 100644 hr_holidays_public/__manifest__.py create mode 100644 hr_holidays_public/i18n/ar.po create mode 100644 hr_holidays_public/i18n/de.po create mode 100644 hr_holidays_public/i18n/es.po create mode 100644 hr_holidays_public/i18n/fi.po create mode 100644 hr_holidays_public/i18n/fr.po create mode 100644 hr_holidays_public/i18n/hr.po create mode 100644 hr_holidays_public/i18n/hr_HR.po create mode 100644 hr_holidays_public/i18n/it.po create mode 100644 hr_holidays_public/i18n/nl_NL.po create mode 100644 hr_holidays_public/i18n/pl.po create mode 100644 hr_holidays_public/i18n/pt_BR.po create mode 100644 hr_holidays_public/i18n/ro.po create mode 100644 hr_holidays_public/i18n/sl.po create mode 100644 hr_holidays_public/models/__init__.py create mode 100644 hr_holidays_public/models/hr_employee.py create mode 100644 hr_holidays_public/models/hr_holidays.py create mode 100644 hr_holidays_public/models/hr_holidays_status.py create mode 100644 hr_holidays_public/models/hr_public_holidays.py create mode 100644 hr_holidays_public/models/hr_public_holidays_line.py create mode 100644 hr_holidays_public/models/resource.py create mode 100644 hr_holidays_public/report/__init__.py create mode 100644 hr_holidays_public/report/holidays_summary_report.py create mode 100644 hr_holidays_public/report/hr_holidays_leaves_report.py create mode 100644 hr_holidays_public/report/hr_holidays_leaves_report_views.xml create mode 100644 hr_holidays_public/report/hr_holidays_templates.xml create mode 100644 hr_holidays_public/report/hr_holidays_views.xml create mode 100644 hr_holidays_public/security/ir.model.access.csv create mode 100644 hr_holidays_public/static/description/icon.png create mode 100755 hr_holidays_public/static/description/icon.svg create mode 100644 hr_holidays_public/tests/__init__.py create mode 100644 hr_holidays_public/tests/test_holidays_calculation.py create mode 100644 hr_holidays_public/tests/test_public_holidays.py create mode 100644 hr_holidays_public/views/hr_holidays_status_views.xml create mode 100644 hr_holidays_public/views/hr_holidays_views.xml create mode 100644 hr_holidays_public/views/hr_public_holidays_view.xml create mode 100644 hr_holidays_public/wizards/__init__.py create mode 100644 hr_holidays_public/wizards/public_holidays_next_year_wizard.py create mode 100644 hr_holidays_public/wizards/public_holidays_next_year_wizard.xml diff --git a/hr_holidays_public/README.rst b/hr_holidays_public/README.rst new file mode 100644 index 00000000..f4b42ef2 --- /dev/null +++ b/hr_holidays_public/README.rst @@ -0,0 +1,89 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: https://www.gnu.org/licenses/agpl + :alt: License: AGPL-3 + +================== +HR Public Holidays +================== + +This module is a technical module to handle public holidays. +The calculation of each leave can exclude rest days or public holiday. +The calculation of each leave includes the number of hours taken from +.employee calendar attendances + +Installation +============ + +To install this module, you need to: + +* clone the branch 11.0 of the repository https://github.com/OCA/hr +* add the path to this repository in your configuration (addons-path) +* update the module list +* search for "Public Holidays" in your addons +* install the module + +Configuration +============= + +Go to Leaves -> Configuration and open a Leave Type + +* Check "Exclude Rest Days" to exclude resource calendar rest days +* Check "Exclude Public Holidays" to exclude public holidays +* Uncheck "Compute Full Days" to allow fractional days. + +Usage +===== + +Go to the menu *Leaves > Public Holidays > Public Holidays* and create your +public holidays. + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/116/11.0 + +Known issues / Roadmap +====================== + + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smashing it by providing a detailed and welcomed feedback. + +Credits +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + + +Contributors +------------ + +* Michael Telahun Makonnen +* Fekete Mihai +* Nikolina Todorova +* Alexis de Lattre +* Salton Massally (iDT Labs) +* Ivan Yelizariev +* Bassirou Ndaw + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +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. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/hr_holidays_public/__init__.py b/hr_holidays_public/__init__.py new file mode 100644 index 00000000..cf6083cf --- /dev/null +++ b/hr_holidays_public/__init__.py @@ -0,0 +1,3 @@ +from . import models +from . import report +from . import wizards diff --git a/hr_holidays_public/__manifest__.py b/hr_holidays_public/__manifest__.py new file mode 100644 index 00000000..f03aacaf --- /dev/null +++ b/hr_holidays_public/__manifest__.py @@ -0,0 +1,27 @@ +# © 2015 2011,2013 Michael Telahun Makonnen +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + 'name': 'HR Public Holidays', + 'version': '11.0.1.0.0', + 'license': 'AGPL-3', + 'category': 'Human Resources', + 'author': "Michael Telahun Makonnen , " + "Odoo Community Association (OCA)", + 'summary': "Manage Public Holidays", + 'website': 'https://github.com/OCA/hr', + 'depends': [ + 'hr_holidays', + ], + 'data': [ + 'security/ir.model.access.csv', + 'views/hr_public_holidays_view.xml', + 'views/hr_holidays_status_views.xml', + 'report/hr_holidays_leaves_report_views.xml', + 'report/hr_holidays_templates.xml', + 'report/hr_holidays_views.xml', + 'views/hr_holidays_views.xml', + 'wizards/public_holidays_next_year_wizard.xml', + ], + 'installable': True, +} diff --git a/hr_holidays_public/i18n/ar.po b/hr_holidays_public/i18n/ar.po new file mode 100644 index 00000000..44be9cb4 --- /dev/null +++ b/hr_holidays_public/i18n/ar.po @@ -0,0 +1,257 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_public_holidays +# +# Translators: +# OCA Transbot , 2016 +# abdullah alsabi , 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 , 2017\n" +"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ar\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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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" +"

\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +msgid "Calendar Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Cancel" +msgstr "إلغاء" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +msgid "Country" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create Next Year Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +msgid "Created by" +msgstr "انشئ من قبل" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +msgid "Created on" +msgstr "وقت الانشاء" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +msgid "Creates public holidays from existing ones" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +msgid "Date" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +msgid "Date may change" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#, python-format +msgid "" +"Dates of holidays should be the same year as the calendar year they are " +"being assigned to" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Defaults" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +msgid "Display Name" +msgstr "إسم العرض" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +msgid "Holiday Dates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +msgid "ID" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +msgid "Last Updated by" +msgstr "اخر تعديل من قبل" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +msgid "Last Updated on" +msgstr "اخر تعديل في" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +msgid "Name" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#, python-format +msgid "" +"No Public Holidays found as template. Please create the first Public " +"Holidays manually." +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Optional" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public +#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +msgid "Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +msgid "Public Holidays Lines" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +msgid "Related States" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +msgid "Templates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "" +"Use this wizard to create public holidays based on the \n" +" existing ones.
\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +msgid "Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#, python-format +msgid "" +"You can't create duplicate public holiday per date %s and one of the country" +" states." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#, python-format +msgid "You can't create duplicate public holiday per date %s." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#, python-format +msgid "You can't create duplicate public holiday per year and/or country" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#, 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 "" diff --git a/hr_holidays_public/i18n/de.po b/hr_holidays_public/i18n/de.po new file mode 100644 index 00000000..cda78f89 --- /dev/null +++ b/hr_holidays_public/i18n/de.po @@ -0,0 +1,263 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_public_holidays +# +# Translators: +# OCA Transbot , 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 , 2016\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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" +"

\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +msgid "Calendar Year" +msgstr "Kalenderjahr" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Cancel" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +msgid "Country" +msgstr "Land" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create Next Year Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +msgid "Created by" +msgstr "Erstellt von" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +msgid "Created on" +msgstr "Angelegt am" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +msgid "Creates public holidays from existing ones" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +msgid "Date" +msgstr "Datum" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +msgid "Date may change" +msgstr "Datum kann sich ändern" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#, 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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Defaults" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +msgid "Display Name" +msgstr "Anzeigename" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +msgid "Holiday Dates" +msgstr "Urlaubsdaten" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +msgid "ID" +msgstr "ID" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +msgid "Last Modified on" +msgstr "Zuletzt geändert am" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +msgid "Last Updated by" +msgstr "Zuletzt aktualisiert durch" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +msgid "Last Updated on" +msgstr "Zuletzt aktualisiert am" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +msgid "Name" +msgstr "Bezeichnung" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#, python-format +msgid "" +"No Public Holidays found as template. Please create the first Public " +"Holidays manually." +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Optional" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public +#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +msgid "Public Holidays" +msgstr "Feiertage" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +msgid "Public Holidays Lines" +msgstr "Feiertagszeilen" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +msgid "Related States" +msgstr "Verwandte Staaten" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +msgid "Templates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "" +"Use this wizard to create public holidays based on the \n" +" existing ones.
\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +msgid "Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#, 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_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#, 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_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#, 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_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#, 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 "" diff --git a/hr_holidays_public/i18n/es.po b/hr_holidays_public/i18n/es.po new file mode 100644 index 00000000..f56924a7 --- /dev/null +++ b/hr_holidays_public/i18n/es.po @@ -0,0 +1,261 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_public_holidays +# +# Translators: +# OCA Transbot , 2016 +# José Antonio Cuello , 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: José Antonio Cuello , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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" +"

\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +msgid "Calendar Year" +msgstr "Año del calendario" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Cancel" +msgstr "Cancelar" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +msgid "Country" +msgstr "País" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create Next Year Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +msgid "Created on" +msgstr "Creado el" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +msgid "Creates public holidays from existing ones" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +msgid "Date" +msgstr "Fecha" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +msgid "Date may change" +msgstr "La fecha puede cambiar" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#, 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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Defaults" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +msgid "Display Name" +msgstr "Mostrar nombre" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +msgid "Holiday Dates" +msgstr "Fechas de la vacación" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +msgid "ID" +msgstr "ID" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +msgid "Last Modified on" +msgstr "Última modificación el" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +msgid "Last Updated on" +msgstr "Última actualización en" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +msgid "Name" +msgstr "Nombre" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#, python-format +msgid "" +"No Public Holidays found as template. Please create the first Public " +"Holidays manually." +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Optional" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public +#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +msgid "Public Holidays" +msgstr "Vacaciones públicas" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +msgid "Public Holidays Lines" +msgstr "Líneas de vacaciones públicas" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +msgid "Related States" +msgstr "Provincias relacionadas" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +msgid "Templates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "" +"Use this wizard to create public holidays based on the \n" +" existing ones.
\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +msgid "Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#, python-format +msgid "" +"You can't create duplicate public holiday per date %s and one of the country" +" states." +msgstr "" +"No puede crear vacaciones públicas duplicadas para la fecha %s y una de las " +"provincias." + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#, python-format +msgid "You can't create duplicate public holiday per date %s." +msgstr "No puede crear vacaciones públicas duplicadas para la fecha %s." + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#, python-format +msgid "You can't create duplicate public holiday per year and/or country" +msgstr "No puede crear vacaciones públicas duplicadas para el año y/o país." + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#, 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 "" diff --git a/hr_holidays_public/i18n/fi.po b/hr_holidays_public/i18n/fi.po new file mode 100644 index 00000000..7fb19d15 --- /dev/null +++ b/hr_holidays_public/i18n/fi.po @@ -0,0 +1,256 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_public_holidays +# +# Translators: +# OCA Transbot , 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 , 2016\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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" +"

\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +msgid "Calendar Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Cancel" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +msgid "Country" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create Next Year Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +msgid "Created by" +msgstr "Luonut" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +msgid "Created on" +msgstr "Luotu" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +msgid "Creates public holidays from existing ones" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +msgid "Date" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +msgid "Date may change" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#, python-format +msgid "" +"Dates of holidays should be the same year as the calendar year they are " +"being assigned to" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Defaults" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +msgid "Display Name" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +msgid "Holiday Dates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +msgid "ID" +msgstr "ID" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +msgid "Last Updated by" +msgstr "Viimeksi päivittänyt" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +msgid "Last Updated on" +msgstr "Viimeksi päivitetty" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +msgid "Name" +msgstr "Nimi" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#, python-format +msgid "" +"No Public Holidays found as template. Please create the first Public " +"Holidays manually." +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Optional" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public +#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +msgid "Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +msgid "Public Holidays Lines" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +msgid "Related States" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +msgid "Templates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "" +"Use this wizard to create public holidays based on the \n" +" existing ones.
\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +msgid "Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#, python-format +msgid "" +"You can't create duplicate public holiday per date %s and one of the country" +" states." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#, python-format +msgid "You can't create duplicate public holiday per date %s." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#, python-format +msgid "You can't create duplicate public holiday per year and/or country" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#, 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 "" diff --git a/hr_holidays_public/i18n/fr.po b/hr_holidays_public/i18n/fr.po new file mode 100644 index 00000000..49224a5d --- /dev/null +++ b/hr_holidays_public/i18n/fr.po @@ -0,0 +1,259 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_public_holidays +# +# Translators: +# OCA Transbot , 2016 +# leemannd , 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: leemannd , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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" +"

\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +msgid "Calendar Year" +msgstr "Année Calendaire" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Cancel" +msgstr "Annuler" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +msgid "Country" +msgstr "Pays" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create Next Year Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +msgid "Created by" +msgstr "Créé par" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +msgid "Created on" +msgstr "Créé le" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +msgid "Creates public holidays from existing ones" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +msgid "Date" +msgstr "Date" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +msgid "Date may change" +msgstr "La Date peux cjanger" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#, 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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Defaults" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +msgid "Display Name" +msgstr "Nom affiché" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +msgid "Holiday Dates" +msgstr "Date des vacances" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +msgid "ID" +msgstr "ID" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +msgid "Last Modified on" +msgstr "Dernière modification le" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +msgid "Last Updated by" +msgstr "Mis-à-jour par" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +msgid "Last Updated on" +msgstr "Mis-à-jour le" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +msgid "Name" +msgstr "Nom" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#, python-format +msgid "" +"No Public Holidays found as template. Please create the first Public " +"Holidays manually." +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Optional" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public +#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +msgid "Public Holidays" +msgstr "Jours fériés" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +msgid "Public Holidays Lines" +msgstr "Linge de jours fériés" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +msgid "Related States" +msgstr "Etats liés" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +msgid "Templates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "" +"Use this wizard to create public holidays based on the \n" +" existing ones.
\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +msgid "Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#, python-format +msgid "" +"You can't create duplicate public holiday per date %s and one of the country" +" states." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#, python-format +msgid "You can't create duplicate public holiday per date %s." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#, python-format +msgid "You can't create duplicate public holiday per year and/or country" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#, 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 "" diff --git a/hr_holidays_public/i18n/hr.po b/hr_holidays_public/i18n/hr.po new file mode 100644 index 00000000..a4509351 --- /dev/null +++ b/hr_holidays_public/i18n/hr.po @@ -0,0 +1,260 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_public_holidays +# +# Translators: +# Bole , 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 , 2017\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr\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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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" +"

\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +msgid "Calendar Year" +msgstr "Kalendarska godina" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Cancel" +msgstr "Odustani" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +msgid "Country" +msgstr "Država" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create" +msgstr "Kreiraj" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create Next Year Public Holidays" +msgstr "Kreiraj državne praznike za sljedeću godinu" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +msgid "Created by" +msgstr "Kreirao" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +msgid "Created on" +msgstr "Kreirano" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +msgid "Creates public holidays from existing ones" +msgstr "Kreiraj državne praznike iz postojećih" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +msgid "Date" +msgstr "Datum" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +msgid "Date may change" +msgstr "Datum može varirati" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#, 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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Defaults" +msgstr "Zadane vrijednosti" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +msgid "Display Name" +msgstr "Naziv" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +msgid "Holiday Dates" +msgstr "Datumi praznika" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +msgid "ID" +msgstr "ID" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +msgid "Last Modified on" +msgstr "Zadnje modificirano" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +msgid "Last Updated by" +msgstr "Zadnji ažurirao" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +msgid "Last Updated on" +msgstr "Zadnje ažurirano" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +msgid "Name" +msgstr "Naziv" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#, 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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Optional" +msgstr "Opcionalno" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public +#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +msgid "Public Holidays" +msgstr "Državni praznici" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +msgid "Public Holidays Lines" +msgstr "Stavke državnih praznika" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +msgid "Related States" +msgstr "Povezane županije" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +msgid "Templates" +msgstr "Predlošci" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "" +"Use this wizard to create public holidays based on the \n" +" existing ones.
\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +msgid "Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#, python-format +msgid "" +"You can't create duplicate public holiday per date %s and one of the country" +" states." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#, python-format +msgid "You can't create duplicate public holiday per date %s." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#, python-format +msgid "You can't create duplicate public holiday per year and/or country" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#, 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 "" diff --git a/hr_holidays_public/i18n/hr_HR.po b/hr_holidays_public/i18n/hr_HR.po new file mode 100644 index 00000000..1e6dd3ab --- /dev/null +++ b/hr_holidays_public/i18n/hr_HR.po @@ -0,0 +1,259 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_public_holidays +# +# Translators: +# OCA Transbot , 2016 +# Bole , 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 , 2017\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr_HR\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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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" +"

\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +msgid "Calendar Year" +msgstr "Kalendarska godina" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Cancel" +msgstr "Odustani" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +msgid "Country" +msgstr "Država" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create Next Year Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +msgid "Created by" +msgstr "Kreirao" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +msgid "Created on" +msgstr "Kreirano" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +msgid "Creates public holidays from existing ones" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +msgid "Date" +msgstr "Datum" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +msgid "Date may change" +msgstr "Datum može varirati" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#, 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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Defaults" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +msgid "Display Name" +msgstr "Naziv" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +msgid "Holiday Dates" +msgstr "Datumi praznika" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +msgid "ID" +msgstr "ID" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +msgid "Last Modified on" +msgstr "Zadnje ažurirano" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +msgid "Last Updated by" +msgstr "Zadnji ažurirao" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +msgid "Last Updated on" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +msgid "Name" +msgstr "Naziv" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#, python-format +msgid "" +"No Public Holidays found as template. Please create the first Public " +"Holidays manually." +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Optional" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public +#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +msgid "Public Holidays" +msgstr "Javni praznici" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +msgid "Public Holidays Lines" +msgstr "Stavke javnih praznika" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +msgid "Related States" +msgstr "Povezani statusi" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +msgid "Templates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "" +"Use this wizard to create public holidays based on the \n" +" existing ones.
\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +msgid "Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#, python-format +msgid "" +"You can't create duplicate public holiday per date %s and one of the country" +" states." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#, python-format +msgid "You can't create duplicate public holiday per date %s." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#, python-format +msgid "You can't create duplicate public holiday per year and/or country" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#, 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 "" diff --git a/hr_holidays_public/i18n/it.po b/hr_holidays_public/i18n/it.po new file mode 100644 index 00000000..24972f35 --- /dev/null +++ b/hr_holidays_public/i18n/it.po @@ -0,0 +1,256 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_public_holidays +# +# Translators: +# OCA Transbot , 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 , 2016\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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" +"

\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +msgid "Calendar Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Cancel" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +msgid "Country" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create Next Year Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +msgid "Created on" +msgstr "Creato il" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +msgid "Creates public holidays from existing ones" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +msgid "Date" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +msgid "Date may change" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#, python-format +msgid "" +"Dates of holidays should be the same year as the calendar year they are " +"being assigned to" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Defaults" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +msgid "Display Name" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +msgid "Holiday Dates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +msgid "ID" +msgstr "ID" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +msgid "Name" +msgstr "Nome" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#, python-format +msgid "" +"No Public Holidays found as template. Please create the first Public " +"Holidays manually." +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Optional" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public +#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +msgid "Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +msgid "Public Holidays Lines" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +msgid "Related States" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +msgid "Templates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "" +"Use this wizard to create public holidays based on the \n" +" existing ones.
\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +msgid "Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#, python-format +msgid "" +"You can't create duplicate public holiday per date %s and one of the country" +" states." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#, python-format +msgid "You can't create duplicate public holiday per date %s." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#, python-format +msgid "You can't create duplicate public holiday per year and/or country" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#, 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 "" diff --git a/hr_holidays_public/i18n/nl_NL.po b/hr_holidays_public/i18n/nl_NL.po new file mode 100644 index 00000000..e0163246 --- /dev/null +++ b/hr_holidays_public/i18n/nl_NL.po @@ -0,0 +1,256 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_public_holidays +# +# Translators: +# Peter Hageman , 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 , 2017\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl_NL\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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" +"

\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +msgid "Calendar Year" +msgstr "Kalenderjaar" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Cancel" +msgstr "Annuleer" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +msgid "Country" +msgstr "Land" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create" +msgstr "Aanmaken" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create Next Year Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +msgid "Created by" +msgstr "Aangemaakt door" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +msgid "Created on" +msgstr "Aangemaakt op" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +msgid "Creates public holidays from existing ones" +msgstr "Maakt feestdagen aan van bestaande" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +msgid "Date" +msgstr "Datum" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +msgid "Date may change" +msgstr "Datum kan wijzigen" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#, python-format +msgid "" +"Dates of holidays should be the same year as the calendar year they are " +"being assigned to" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Defaults" +msgstr "Standaard" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +msgid "Display Name" +msgstr "Weergavenaam" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +msgid "Holiday Dates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +msgid "ID" +msgstr "ID" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +msgid "Last Modified on" +msgstr "Laatst gewijzigd op" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +msgid "Last Updated by" +msgstr "Laatst bijgewerkt door" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +msgid "Last Updated on" +msgstr "Laatst bijgewerkt op" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +msgid "Name" +msgstr "Naam" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#, python-format +msgid "" +"No Public Holidays found as template. Please create the first Public " +"Holidays manually." +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Optional" +msgstr "Optioneel" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public +#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +msgid "Public Holidays" +msgstr "Feestdagen" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +msgid "Public Holidays Lines" +msgstr "Feestdagen-regels" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +msgid "Related States" +msgstr "Gerelateerde Fases" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +msgid "Templates" +msgstr "Sjablonen" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "" +"Use this wizard to create public holidays based on the \n" +" existing ones.
\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +msgid "Year" +msgstr "Jaar" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#, python-format +msgid "" +"You can't create duplicate public holiday per date %s and one of the country" +" states." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#, python-format +msgid "You can't create duplicate public holiday per date %s." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#, python-format +msgid "You can't create duplicate public holiday per year and/or country" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#, 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 "" diff --git a/hr_holidays_public/i18n/pl.po b/hr_holidays_public/i18n/pl.po new file mode 100644 index 00000000..0a6038a0 --- /dev/null +++ b/hr_holidays_public/i18n/pl.po @@ -0,0 +1,256 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_public_holidays +# +# Translators: +# OCA Transbot , 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 , 2016\n" +"Language-Team: Polish (https://www.transifex.com/oca/teams/23907/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pl\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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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" +"

\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +msgid "Calendar Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Cancel" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +msgid "Country" +msgstr "Kraj" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create Next Year Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +msgid "Created by" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +msgid "Created on" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +msgid "Creates public holidays from existing ones" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +msgid "Date" +msgstr "Data" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +msgid "Date may change" +msgstr "Data może ulec zmianie" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#, python-format +msgid "" +"Dates of holidays should be the same year as the calendar year they are " +"being assigned to" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Defaults" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +msgid "Display Name" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +msgid "Holiday Dates" +msgstr "Daty dni wolnych od pracy" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +msgid "ID" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +msgid "Last Updated on" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +msgid "Name" +msgstr "Nazwa" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#, python-format +msgid "" +"No Public Holidays found as template. Please create the first Public " +"Holidays manually." +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Optional" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public +#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +msgid "Public Holidays" +msgstr "Dni wolne od pracy" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +msgid "Public Holidays Lines" +msgstr "Dni wolne od pracy - pozycje" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +msgid "Related States" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +msgid "Templates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "" +"Use this wizard to create public holidays based on the \n" +" existing ones.
\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +msgid "Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#, python-format +msgid "" +"You can't create duplicate public holiday per date %s and one of the country" +" states." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#, python-format +msgid "You can't create duplicate public holiday per date %s." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#, python-format +msgid "You can't create duplicate public holiday per year and/or country" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#, 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 "" diff --git a/hr_holidays_public/i18n/pt_BR.po b/hr_holidays_public/i18n/pt_BR.po new file mode 100644 index 00000000..7f69e872 --- /dev/null +++ b/hr_holidays_public/i18n/pt_BR.po @@ -0,0 +1,256 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_public_holidays +# +# Translators: +# OCA Transbot , 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 , 2016\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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" +"

\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +msgid "Calendar Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Cancel" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +msgid "Country" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create Next Year Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +msgid "Created by" +msgstr "Criado por" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +msgid "Created on" +msgstr "Criado em" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +msgid "Creates public holidays from existing ones" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +msgid "Date" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +msgid "Date may change" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#, python-format +msgid "" +"Dates of holidays should be the same year as the calendar year they are " +"being assigned to" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Defaults" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +msgid "Display Name" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +msgid "Holiday Dates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +msgid "ID" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +msgid "Last Updated on" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +msgid "Name" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#, python-format +msgid "" +"No Public Holidays found as template. Please create the first Public " +"Holidays manually." +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Optional" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public +#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +msgid "Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +msgid "Public Holidays Lines" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +msgid "Related States" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +msgid "Templates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "" +"Use this wizard to create public holidays based on the \n" +" existing ones.
\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +msgid "Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#, python-format +msgid "" +"You can't create duplicate public holiday per date %s and one of the country" +" states." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#, python-format +msgid "You can't create duplicate public holiday per date %s." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#, python-format +msgid "You can't create duplicate public holiday per year and/or country" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#, 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 "" diff --git a/hr_holidays_public/i18n/ro.po b/hr_holidays_public/i18n/ro.po new file mode 100644 index 00000000..1cb44add --- /dev/null +++ b/hr_holidays_public/i18n/ro.po @@ -0,0 +1,256 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_public_holidays +# +# Translators: +# OCA Transbot , 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 , 2016\n" +"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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" +"

\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +msgid "Calendar Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Cancel" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +msgid "Country" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create Next Year Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +msgid "Created by" +msgstr "Creeat de către" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +msgid "Created on" +msgstr "Creeat în" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +msgid "Creates public holidays from existing ones" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +msgid "Date" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +msgid "Date may change" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#, python-format +msgid "" +"Dates of holidays should be the same year as the calendar year they are " +"being assigned to" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Defaults" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +msgid "Display Name" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +msgid "Holiday Dates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +msgid "ID" +msgstr "ID" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +msgid "Last Updated by" +msgstr "Ultima actualizare de către" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +msgid "Last Updated on" +msgstr "Ultima actualizare în" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +msgid "Name" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#, python-format +msgid "" +"No Public Holidays found as template. Please create the first Public " +"Holidays manually." +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Optional" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public +#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +msgid "Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +msgid "Public Holidays Lines" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +msgid "Related States" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +msgid "Templates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "" +"Use this wizard to create public holidays based on the \n" +" existing ones.
\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +msgid "Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#, python-format +msgid "" +"You can't create duplicate public holiday per date %s and one of the country" +" states." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#, python-format +msgid "You can't create duplicate public holiday per date %s." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#, python-format +msgid "You can't create duplicate public holiday per year and/or country" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#, 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 "" diff --git a/hr_holidays_public/i18n/sl.po b/hr_holidays_public/i18n/sl.po new file mode 100644 index 00000000..a300b869 --- /dev/null +++ b/hr_holidays_public/i18n/sl.po @@ -0,0 +1,256 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_public_holidays +# +# Translators: +# OCA Transbot , 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 , 2016\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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" +"

\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +msgid "Calendar Year" +msgstr "Koledarsko leto" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Cancel" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +msgid "Country" +msgstr "Država" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Create Next Year Public Holidays" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +msgid "Created by" +msgstr "Ustvaril" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +msgid "Created on" +msgstr "Ustvarjeno" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +msgid "Creates public holidays from existing ones" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +msgid "Date" +msgstr "Datum" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +msgid "Date may change" +msgstr "Datum se lahko spremeni" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#, python-format +msgid "" +"Dates of holidays should be the same year as the calendar year they are " +"being assigned to" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Defaults" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +msgid "Display Name" +msgstr "Prikazni naziv" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +msgid "Holiday Dates" +msgstr "Datumi praznikov" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +msgid "ID" +msgstr "ID" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +msgid "Last Modified on" +msgstr "Zadnjič spremenjeno" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +msgid "Last Updated by" +msgstr "Zadnjič posodobil" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +msgid "Last Updated on" +msgstr "Zadnjič posodobljeno" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +msgid "Name" +msgstr "Naziv" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#, python-format +msgid "" +"No Public Holidays found as template. Please create the first Public " +"Holidays manually." +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "Optional" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public +#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays +#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form +#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +msgid "Public Holidays" +msgstr "Javni prazniki" + +#. module: hr_public_holidays +#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +msgid "Public Holidays Lines" +msgstr "Postavke javnih praznikov" + +#. module: hr_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +msgid "Related States" +msgstr "Povezane zvezne države" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +msgid "Templates" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_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_public_holidays +#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +msgid "" +"Use this wizard to create public holidays based on the \n" +" existing ones.
\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_public_holidays +#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +msgid "Year" +msgstr "" + +#. module: hr_public_holidays +#: model:ir.model.fields,help:hr_public_holidays.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_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#, python-format +msgid "" +"You can't create duplicate public holiday per date %s and one of the country" +" states." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#, python-format +msgid "You can't create duplicate public holiday per date %s." +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#, python-format +msgid "You can't create duplicate public holiday per year and/or country" +msgstr "" + +#. module: hr_public_holidays +#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#, 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 "" diff --git a/hr_holidays_public/models/__init__.py b/hr_holidays_public/models/__init__.py new file mode 100644 index 00000000..d8ea355f --- /dev/null +++ b/hr_holidays_public/models/__init__.py @@ -0,0 +1,6 @@ +from . import hr_employee +from . import hr_holidays +from . import hr_holidays_status +from . import hr_public_holidays +from . import hr_public_holidays_line +from . import resource diff --git a/hr_holidays_public/models/hr_employee.py b/hr_holidays_public/models/hr_employee.py new file mode 100644 index 00000000..91cefbed --- /dev/null +++ b/hr_holidays_public/models/hr_employee.py @@ -0,0 +1,55 @@ +# Copyright 2015 iDT LABS (http://www.@idtlabs.sl) +# Copyright 2017 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import datetime +from datetime import timedelta +from dateutil import rrule +from odoo import fields, models +from odoo.tools import float_utils + + +class HrEmployee(models.Model): + _inherit = 'hr.employee' + + def _get_public_holidays_leaves(self, start_dt, end_dt): + """Get the public holidays for the current employee and given dates in + the format expected by resource methods. + :param: start_dt: Initial datetime. + :param: end_dt: End datetime. + :return: List of tuples with (start_date, end_date) as elements. + """ + self.ensure_one() + leaves = [] + for day in rrule.rrule(rrule.YEARLY, dtstart=start_dt, until=end_dt): + lines = self.env['hr.holidays.public'].get_holidays_list( + day.year, employee_id=self.id, + ) + for line in lines: + date = fields.Datetime.from_string(line.date) + leaves.append(( + datetime.datetime.combine(date, datetime.time.min), + datetime.datetime.combine(date, datetime.time.max))) + return leaves + + def _get_work_days_data(self, from_datetime, to_datetime, calendar=None): + self.ensure_one() + days_count = 0.0 + total_work_time = timedelta() + calendar = calendar or self.resource_calendar_id + for day_intervals in calendar._iter_work_intervals( + from_datetime, to_datetime, self.resource_id.id, + compute_leaves=True): + theoric_hours = self.get_day_work_hours_count( + day_intervals[0][0].date(), calendar=calendar) + work_time = sum( + (interval[1] - interval[0] for interval in day_intervals), + timedelta()) + total_work_time += work_time + days_count += (work_time.total_seconds() / 3600) / ( + theoric_hours or work_time.total_seconds() / 3600) + return { + 'days': float_utils.float_round(days_count, precision_digits=3), + 'hours': float_utils.float_round( + total_work_time.total_seconds() / 3600, precision_digits=3), + } diff --git a/hr_holidays_public/models/hr_holidays.py b/hr_holidays_public/models/hr_holidays.py new file mode 100644 index 00000000..29c7afbb --- /dev/null +++ b/hr_holidays_public/models/hr_holidays.py @@ -0,0 +1,103 @@ +# Copyright 2015 iDT LABS (http://www.@idtlabs.sl) +# Copyright 2017 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import pytz +from dateutil import tz +from odoo import api, fields, models + + +def to_naive_user_tz(date_time, record): + tz_name = record.env.context.get('tz') or record.env.user.tz + tz = pytz.timezone(tz_name) if tz_name else pytz.UTC + return pytz.UTC.localize( + date_time.replace(tzinfo=None), is_dst=False, + ).astimezone(tz).replace(tzinfo=None) + + +class HrHolidays(models.Model): + _inherit = 'hr.holidays' + + show_full_days = fields.Boolean( + string="Show Full Days", + related="holiday_status_id.compute_full_days") + number_of_hours_temp = fields.Float( + 'Allocated Hours', copy=False, readonly=True, + states={'draft': [('readonly', False)], + 'confirm': [('readonly', False)]}, + help='Number of hours of the leave request according ' + 'to your working schedule.') + number_of_hours = fields.Float( + 'Number of Hours', compute='_compute_number_of_hours', + store=True, track_visibility='onchange') + + @api.multi + @api.depends('number_of_hours_temp', 'type') + def _compute_number_of_hours(self): + for holiday in self: + if holiday.type == 'remove': + holiday.number_of_hours = -holiday.number_of_hours_temp + else: + holiday.number_of_hours = holiday.number_of_hours_temp + + @api.onchange('employee_id') + def _onchange_employee(self): + super(HrHolidays, self)._onchange_employee() + self._onchange_data_hr_holidays_compute_days() + + @api.onchange('date_from') + def _onchange_date_from(self): + if not self.show_full_days: + super(HrHolidays, self)._onchange_date_from() + if self.show_full_days and self.date_from: + tz_name = self.employee_id.user_id.tz or self.env.user.tz + start_dt = to_naive_user_tz( + fields.Datetime.from_string(self.date_from), self) + dt = start_dt.replace( + hour=0, minute=0, second=0, microsecond=0, + tzinfo=tz.gettz(tz_name), + ).astimezone(tz.tzutc()) + self.date_from = fields.Datetime.to_string(dt) + if self.date_to: + end_dt = to_naive_user_tz( + fields.Datetime.from_string(self.date_to), self) + dt = end_dt.replace( + hour=23, minute=59, second=59, microsecond=999999, + tzinfo=tz.gettz(tz_name), + ).astimezone(tz.tzutc()) + self.date_to = fields.Datetime.to_string(dt) + self._onchange_data_hr_holidays_compute_days() + + @api.onchange('date_to') + def _onchange_date_to(self): + super(HrHolidays, self)._onchange_date_to() + if self.show_full_days and self.date_to: + tz_name = self.employee_id.user_id.tz or self.env.user.tz + end_dt = to_naive_user_tz( + fields.Datetime.from_string(self.date_to), self) + dt = end_dt.replace( + hour=23, minute=59, second=59, microsecond=999999, + tzinfo=tz.gettz(tz_name), + ).astimezone(tz.tzutc()) + self.date_to = fields.Datetime.to_string(dt) + self._onchange_data_hr_holidays_compute_days() + + @api.onchange('holiday_status_id') + def _onchange_data_hr_holidays_compute_days(self): + if self.date_to and self.date_from and self.date_from <= self.date_to: + date_from = fields.Datetime.from_string(self.date_from) + date_to = fields.Datetime.from_string(self.date_to) + employee = self.employee_id + employee = employee.with_context(employee=employee) + if (self.holiday_status_id.exclude_public_holidays or + not self.holiday_status_id): + employee = employee.with_context(exclude_public_holidays=True) + employee = employee.with_context( + include_rest_days=not self.holiday_status_id.exclude_rest_days, + compute_full_days=self.holiday_status_id.compute_full_days, + ) + datas = employee._get_work_days_data(from_datetime=date_from, + to_datetime=date_to) + if datas: + self.number_of_days_temp = datas['days'] + self.number_of_hours_temp = datas['hours'] diff --git a/hr_holidays_public/models/hr_holidays_status.py b/hr_holidays_public/models/hr_holidays_status.py new file mode 100644 index 00000000..4a1ce557 --- /dev/null +++ b/hr_holidays_public/models/hr_holidays_status.py @@ -0,0 +1,28 @@ +# Copyright 2015 iDT LABS (http://www.@idtlabs.sl) +# Copyright 2017 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import fields, models + + +class HrHolidaysStatus(models.Model): + _inherit = 'hr.holidays.status' + + exclude_rest_days = fields.Boolean( + string='Exclude Rest Days', + default=True, + help="If enabled, the employee's day off is skipped in leave days " + "calculation.", + ) + exclude_public_holidays = fields.Boolean( + string='Exclude Public Holidays', + default=True, + help="If enabled, public holidays are skipped in leave days " + "calculation.", + ) + compute_full_days = fields.Boolean( + string="Compute Full Days", + default=True, + help="If enabled, the number of days computed will be always for the " + "full days in the interval", + ) diff --git a/hr_holidays_public/models/hr_public_holidays.py b/hr_holidays_public/models/hr_public_holidays.py new file mode 100644 index 00000000..f401dec8 --- /dev/null +++ b/hr_holidays_public/models/hr_public_holidays.py @@ -0,0 +1,131 @@ +# © 2015 2011,2013 Michael Telahun Makonnen +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from datetime import date + +from odoo import api, fields, models, _ +from odoo.exceptions import Warning as UserError + + +class HrPublicHolidays(models.Model): + _name = 'hr.holidays.public' + _description = 'Public Holidays' + _rec_name = 'year' + _order = "year" + + display_name = fields.Char( + "Name", + compute="_compute_display_name", + readonly=True, + 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.multi + @api.constrains('year', 'country_id') + def _check_year(self): + for line in self: + line._check_year_one() + + def _check_year_one(self): + if self.country_id: + domain = [('year', '=', self.year), + ('country_id', '=', self.country_id.id), + ('id', '!=', self.id)] + else: + domain = [('year', '=', self.year), + ('country_id', '=', False), + ('id', '!=', self.id)] + if self.search_count(domain): + raise UserError(_('You can\'t create duplicate public holiday ' + 'per year and/or country')) + return True + + @api.multi + @api.depends('year', 'country_id') + def _compute_display_name(self): + for line in self: + if line.country_id: + line.display_name = '%s (%s)' % (line.year, + line.country_id.name) + else: + line.display_name = line.year + + @api.multi + def name_get(self): + result = [] + for rec in self: + result.append((rec.id, rec.display_name)) + return result + + @api.model + @api.returns('hr.holidays.public.line') + def get_holidays_list(self, year, employee_id=None): + """ + Returns recordset of hr.holidays.public.line + for the specified year and employee + :param year: year as string + :param employee_id: ID of the employee + :return: recordset of hr.holidays.public.line + """ + holidays_filter = [('year', '=', year)] + employee = False + if employee_id: + employee = self.env['hr.employee'].browse(employee_id) + if employee.address_id and employee.address_id.country_id: + holidays_filter.append('|') + holidays_filter.append(('country_id', '=', False)) + holidays_filter.append(('country_id', + '=', + employee.address_id.country_id.id)) + else: + holidays_filter.append(('country_id', '=', False)) + pholidays = self.search(holidays_filter) + if not pholidays: + return list() + + states_filter = [('year_id', 'in', pholidays.ids)] + if employee and employee.address_id and employee.address_id.state_id: + states_filter += ['|', + ('state_ids', '=', False), + ('state_ids', '=', + employee.address_id.state_id.id)] + else: + states_filter.append(('state_ids', '=', False)) + + 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): + """ + Returns True if selected_date is a public holiday for the employee + :param selected_date: datetime object or string + :param employee_id: ID of the employee + :return: bool + """ + if isinstance(selected_date, str): + selected_date = fields.Date.from_string(selected_date) + holidays_lines = self.get_holidays_list( + selected_date.year, employee_id=employee_id) + if holidays_lines: + hol_date = holidays_lines.filtered( + lambda r: r.date == fields.Date.to_string( + selected_date)) + if hol_date.ids: + return True + return False diff --git a/hr_holidays_public/models/hr_public_holidays_line.py b/hr_holidays_public/models/hr_public_holidays_line.py new file mode 100644 index 00000000..1726462e --- /dev/null +++ b/hr_holidays_public/models/hr_public_holidays_line.py @@ -0,0 +1,72 @@ +# © 2011,2013 Michael Telahun Makonnen +# © 2014 initOS GmbH & Co. KG +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import api, fields, models, _ +from odoo.exceptions import Warning as UserError + + +class HrPublicHolidaysLine(models.Model): + _name = 'hr.holidays.public.line' + _description = 'Public Holidays Lines' + _order = "date, name desc" + + name = fields.Char( + 'Name', + required=True, + ) + date = fields.Date( + 'Date', + required=True + ) + year_id = fields.Many2one( + 'hr.holidays.public', + 'Calendar Year', + required=True, + ) + variable_date = fields.Boolean('Date may change', oldname='variable', + default=True) + state_ids = fields.Many2many( + 'res.country.state', + 'hr_holiday_public_state_rel', + 'line_id', + 'state_id', + 'Related States' + ) + calendar_leave_id = fields.Many2one( + 'resource.calendar.leaves', + 'Resource Calendar Leave', copy=False) + + @api.multi + @api.constrains('date', 'state_ids') + def _check_date_state(self): + for line in self: + line._check_date_state_one() + + def _check_date_state_one(self): + if fields.Date.from_string(self.date).year != self.year_id.year: + raise UserError(_( + 'Dates of holidays should be the same year ' + 'as the calendar year they are being assigned to' + )) + + if self.state_ids: + domain = [('date', '=', self.date), + ('year_id', '=', self.year_id.id), + ('state_ids', '!=', False), + ('id', '!=', self.id)] + holidays = self.search(domain) + + for holiday in holidays: + + if self.state_ids & holiday.state_ids: + raise UserError(_('You can\'t create duplicate public ' + 'holiday per date %s and one of the ' + 'country states.') % self.date) + domain = [('date', '=', self.date), + ('year_id', '=', self.year_id.id), + ('state_ids', '=', False)] + if self.search_count(domain) > 1: + raise UserError(_('You can\'t create duplicate public holiday ' + 'per date %s.') % self.date) + return True diff --git a/hr_holidays_public/models/resource.py b/hr_holidays_public/models/resource.py new file mode 100644 index 00000000..0148219a --- /dev/null +++ b/hr_holidays_public/models/resource.py @@ -0,0 +1,79 @@ +# Copyright 2016 Odoo S. A. +# Copyright 2017 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import datetime +import pytz +from dateutil import rrule + +from odoo import api, models + + +def to_naive_user_tz(date_time, record): + tz_name = record.env.context.get('tz') or record.env.user.tz + tz = pytz.timezone(tz_name) if tz_name else pytz.UTC + return pytz.UTC.localize( + date_time.replace(tzinfo=None), is_dst=False, + ).astimezone(tz).replace(tzinfo=None) + + +class ResourceCalendar(models.Model): + _inherit = 'resource.calendar' + + @api.multi + def _get_leave_intervals(self, resource_id=None, + start_datetime=None, end_datetime=None): + self.ensure_one() + res = super(ResourceCalendar, self)._get_leave_intervals( + resource_id=resource_id, + start_datetime=start_datetime, + end_datetime=end_datetime) + if self.env.context.get('employee') and \ + self.env.context.get('exclude_public_holidays'): + employee = self.env.context.get('employee')[0] + res += employee._get_public_holidays_leaves( + start_datetime, end_datetime) + return res + + def _iter_work_intervals(self, start_dt, end_dt, + resource_id, compute_leaves=True): + """ Lists the current resource's work intervals between the two provided + datetimes (inclusive) expressed in UTC, for each worked day. """ + self.ensure_one() + if not end_dt: + end_dt = datetime.datetime.combine(start_dt.date(), + datetime.time.max) + + start_dt = to_naive_user_tz(start_dt, self.env.user) + end_dt = to_naive_user_tz(end_dt, self.env.user) + real_weekdays = self._get_weekdays() + if self.env.context.get('include_rest_days'): + full_weekdays = range(7) + else: + full_weekdays = real_weekdays + + for day in rrule.rrule(rrule.DAILY, + dtstart=start_dt, + until=end_dt, + byweekday=full_weekdays): + start_time = datetime.time.min + if day.date() == start_dt.date(): + start_time = start_dt.time() + end_time = datetime.time.max + if day.date() == end_dt.date(): + end_time = end_dt.time() + + if day.weekday() in real_weekdays: + intervals = self._get_day_work_intervals( + day.date(), + start_time=start_time, + end_time=end_time, + compute_leaves=compute_leaves, + resource_id=resource_id) + else: # Include full day for rest days - Will be handled later + intervals = [(datetime.datetime.combine(day.date(), + datetime.time.min), + datetime.datetime.combine(day.date(), + datetime.time.max))] + if intervals: + yield intervals diff --git a/hr_holidays_public/report/__init__.py b/hr_holidays_public/report/__init__.py new file mode 100644 index 00000000..202bd314 --- /dev/null +++ b/hr_holidays_public/report/__init__.py @@ -0,0 +1,2 @@ +from . import holidays_summary_report +from . import hr_holidays_leaves_report diff --git a/hr_holidays_public/report/holidays_summary_report.py b/hr_holidays_public/report/holidays_summary_report.py new file mode 100644 index 00000000..38924a68 --- /dev/null +++ b/hr_holidays_public/report/holidays_summary_report.py @@ -0,0 +1,83 @@ +# © 2018 Fekete Mihai +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from datetime import timedelta +from dateutil.relativedelta import relativedelta +from odoo import fields, models + + +class HrHolidaySummaryReport(models.AbstractModel): + _inherit = 'report.hr_holidays.report_holidayssummary' + + def _get_leaves_summary(self, start_date, empid, holiday_type): + res = [] + count = 0 + count_hours = 0 + start_date = fields.Date.from_string(start_date) + end_date = start_date + relativedelta(days=59) + for index in range(0, 60): + current = start_date + timedelta(index) + res.append({'day': current.day, 'color': ''}) + if self._date_is_day_off(current): + res[index]['color'] = '#ababab' + # count and get leave summary details. + if holiday_type == 'both': + holiday_type = ['confirm', 'validate'] + elif holiday_type == 'Confirmed': + holiday_type = ['confirm'] + else: + holiday_type = ['validate'] + holidays = self.env['hr.holidays'].search([ + ('employee_id', '=', empid), ('state', 'in', holiday_type), + ('type', '=', 'remove'), ('date_from', '<=', str(end_date)), + ('date_to', '>=', str(start_date)) + ]) + for holiday in holidays: + # Convert date to user timezone, otherwise the report will not be + # consistent with the value displayed in the interface. + date_from = fields.Datetime.from_string(holiday.date_from) + date_from = fields.Datetime.context_timestamp( + holiday, date_from).date() + date_to = fields.Datetime.from_string(holiday.date_to) + date_to = fields.Datetime.context_timestamp( + holiday, date_to).date() + for index in range(0, ((date_to - date_from).days + 1)): + if date_from >= start_date and date_from <= end_date: + res[(date_from-start_date).days]['color'] = \ + holiday.holiday_status_id.color_name + date_from += timedelta(1) + count += abs(holiday.number_of_days) + count_hours += abs(holiday.number_of_hours) + self.sum = count + self.sum_hours = count_hours + return res + + def _get_data_from_report(self, data): + res = [] + employees = self.env['hr.employee'] + if 'depts' in data: + for department in self.env['hr.department'].browse(data['depts']): + res.append({'dept': department.name, + 'data': [], + 'color': self._get_day(data['date_from'])}) + for emp in employees.search([('department_id', + '=', + department.id)]): + res[len(res)-1]['data'].append({ + 'emp': emp.name, + 'display': self._get_leaves_summary( + data['date_from'], emp.id, data['holiday_type']), + 'sum': self.sum, + 'sum_hours': self.sum_hours + }) + elif 'emp' in data: + res.append({'data': []}) + for emp in employees.browse(data['emp']): + res[0]['data'].append({ + 'emp': emp.name, + 'display': self._get_leaves_summary( + data['date_from'], emp.id, data['holiday_type']), + 'sum': self.sum, + 'sum_hours': self.sum_hours + }) + return res diff --git a/hr_holidays_public/report/hr_holidays_leaves_report.py b/hr_holidays_public/report/hr_holidays_leaves_report.py new file mode 100644 index 00000000..b96e0c36 --- /dev/null +++ b/hr_holidays_public/report/hr_holidays_leaves_report.py @@ -0,0 +1,35 @@ +# © 2018 Fekete Mihai +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import fields, models, tools + + +class HrHolidaysRemainingLeavesUser(models.Model): + _inherit = "hr.holidays.remaining.leaves.user" + + no_of_leaves_hours = fields.Integer( + 'Remaining leaves hours', readonly=True) + + def init(self): + tools.drop_view_if_exists(self._cr, + 'hr_holidays_remaining_leaves_user') + self._cr.execute(""" + CREATE or REPLACE view hr_holidays_remaining_leaves_user as ( + SELECT + min(hrs.id) as id, + rr.name as name, + sum(hrs.number_of_days) as no_of_leaves, + sum(hrs.number_of_hours) as no_of_leaves_hours, + rr.user_id as user_id, + hhs.name as leave_type + FROM + hr_holidays as hrs, hr_employee as hre, + resource_resource as rr,hr_holidays_status as hhs + WHERE + hrs.employee_id = hre.id and + hre.resource_id = rr.id and + hhs.id = hrs.holiday_status_id + GROUP BY + rr.name,rr.user_id,hhs.name + ) + """) diff --git a/hr_holidays_public/report/hr_holidays_leaves_report_views.xml b/hr_holidays_public/report/hr_holidays_leaves_report_views.xml new file mode 100644 index 00000000..b24be2b7 --- /dev/null +++ b/hr_holidays_public/report/hr_holidays_leaves_report_views.xml @@ -0,0 +1,26 @@ + + + + + hr.holidays.remaining.leaves.user.tree + hr.holidays.remaining.leaves.user + + + + + + + + + + hr.holidays.remaining.leaves.user.graph + hr.holidays.remaining.leaves.user + + + + + + + + + diff --git a/hr_holidays_public/report/hr_holidays_templates.xml b/hr_holidays_public/report/hr_holidays_templates.xml new file mode 100644 index 00000000..f94f6ae8 --- /dev/null +++ b/hr_holidays_public/report/hr_holidays_templates.xml @@ -0,0 +1,10 @@ + + + + + diff --git a/hr_holidays_public/report/hr_holidays_views.xml b/hr_holidays_public/report/hr_holidays_views.xml new file mode 100644 index 00000000..d0205b62 --- /dev/null +++ b/hr_holidays_public/report/hr_holidays_views.xml @@ -0,0 +1,25 @@ + + + + hr.holidays.report_pivot + hr.holidays + + + + + + + + + + hr.holidays.report_graph + hr.holidays + + + + + + + + + diff --git a/hr_holidays_public/security/ir.model.access.csv b/hr_holidays_public/security/ir.model.access.csv new file mode 100644 index 00000000..15086704 --- /dev/null +++ b/hr_holidays_public/security/ir.model.access.csv @@ -0,0 +1,5 @@ +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 diff --git a/hr_holidays_public/static/description/icon.png b/hr_holidays_public/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmW++2RxMjAAjx~&dlBk9S+%}OXg)AGE&Cb*&}d0jUxM@u(PQx^-s)697TX`ehR4?GS^qbkof1cslKgkU)h65qZ9Oc=ml_0temigYLJfnz{IDzUf>bGs4N!v3=Z3jMq&A#7%rM5eQ#dc?k~! zVpnB`o+K7|Al`Q_U;eD$B zfJtP*jH`siUq~{KE)`jP2|#TUEFGRryE2`i0**z#*^6~AI|YzIWy$Cu#CSLW3q=GA z6`?GZymC;dCPk~rBS%eCb`5OLr;RUZ;D`}um=H)BfVIq%7VhiMr)_#G0N#zrNH|__ zc+blN2UAB0=617@>_u;MPHN;P;N#YoE=)R#i$k_`UAA>WWCcEVMh~L_ zj--gtp&|K1#58Yz*AHCTMziU1Jzt_jG0I@qAOHsk$2}yTmVkBp_eHuY$A9)>P6o~I z%aQ?!(GqeQ-Y+b0I(m9pwgi(IIZZzsbMv+9w{PFtd_<_(LA~0H(xz{=FhLB@(1&qHA5EJw1>>=%q2f&^X>IQ{!GJ4e9U z&KlB)z(84HmNgm2hg2C0>WM{E(DdPr+EeU_N@57;PC2&DmGFW_9kP&%?X4}+xWi)( z;)z%wI5>D4a*5XwD)P--sPkoY(a~WBw;E~AW`Yue4kFa^LM3X`8x|}ZUeMnqr}>kH zG%WWW>3ml$Yez?i%)2pbKPI7?5o?hydokgQyZsNEr{a|mLdt;X2TX(#B1j35xPnPW z*bMSSOauW>o;*=kO8ojw91VX!qoOQb)zHJ!odWB}d+*K?#sY_jqPdg{Sm2HdYzdEx zOGVPhVRTGPtv0o}RfVP;Nd(|CB)I;*t&QO8h zFfekr30S!-LHmV_Su-W+rEwYXJ^;6&3|L$mMC8*bQptyOo9;>Qb9Q9`ySe3%V$A*9 zeKEe+b0{#KWGp$F+tga)0RtI)nhMa-K@JS}2krK~n8vJ=Ngm?R!9G<~RyuU0d?nz# z-5EK$o(!F?hmX*2Yt6+coY`6jGbb7tF#6nHA zuKk=GGJ;ZwON1iAfG$E#Y7MnZVmrY|j0eVI(DN_MNFJmyZ|;w4tf@=CCDZ#5N_0K= z$;R~bbk?}TpfDjfB&aiQ$VA}s?P}xPERJG{kxk5~R`iRS(SK5d+Xs9swCozZISbnS zk!)I0>t=A<-^z(cmSFz3=jZ23u13X><0b)P)^1T_))Kr`e!-pb#q&J*Q`p+B6la%C zuVl&0duN<;uOsB3%T9Fp8t{ED108<+W(nOZd?gDnfNBC3>M8WE61$So|P zVvqH0SNtDTcsUdzaMDpT=Ty0pDHHNL@Z0w$Y`XO z2M-_r1S+GaH%pz#Uy0*w$Vdl=X=rQXEzO}d6J^R6zjM1u&c9vYLvLp?W7w(?np9x1 zE_0JSAJCPB%i7p*Wvg)pn5T`8k3-uR?*NT|J`eS#_#54p>!p(mLDvmc-3o0mX*mp_ zN*AeS<>#^-{S%W<*mz^!X$w_2dHWpcJ6^j64qFBft-o}o_Vx80o0>}Du;>kLts;$8 zC`7q$QI(dKYG`Wa8#wl@V4jVWBRGQ@1dr-hstpQL)Tl+aqVpGpbSfN>5i&QMXfiZ> zaA?T1VGe?rpQ@;+pkrVdd{klI&jVS@I5_iz!=UMpTsa~mBga?1r}aRBm1WS;TT*s0f0lY=JBl66Upy)-k4J}lh=P^8(SXk~0xW=T9v*B|gzIhN z>qsO7dFd~mgxAy4V?&)=5ieYq?zi?ZEoj)&2o)RLy=@hbCRcfT5jigwtQGE{L*8<@Yd{zg;CsL5mvzfDY}P-wos_6PfprFVaeqNE%h zKZhLtcQld;ZD+>=nqN~>GvROfueSzJD&BE*}XfU|H&(FssBqY=hPCt`d zH?@s2>I(|;fcW&YM6#V#!kUIP8$Nkdh0A(bEVj``-AAyYgwY~jB zT|I7Bf@%;7aL7Wf4dZ%VqF$eiaC38OV6oy3Z#TER2G+fOCd9Iaoy6aLYbPTN{XRPz z;U!V|vBf%H!}52L2gH_+j;`bTcQRXB+y9onc^wLm5wi3-Be}U>k_u>2Eg$=k!(l@I zcCg+flakT2Nej3i0yn+g+}%NYb?ta;R?(g5SnwsQ49U8Wng8d|{B+lyRcEDvR3+`O{zfmrmvFrL6acVP%yG98X zo&+VBg@px@i)%o?dG(`T;n*$S5*rnyiR#=wW}}GsAcfyQpE|>a{=$Hjg=-*_K;UtD z#z-)AXwSRY?OPefw^iI+ z)AXz#PfEjlwTes|_{sB?4(O@fg0AJ^g8gP}ex9Ucf*@_^J(s_5jJV}c)s$`Myn|Kd z$6>}#q^n{4vN@+Os$m7KV+`}c%4)4pv@06af4-x5#wj!KKb%caK{A&Y#Rfs z-po?Dcb1({W=6FKIUirH&(yg=*6aLCekcKwyfK^JN5{wcA3nhO(o}SK#!CINhI`-I z1)6&n7O&ZmyFMuNwvEic#IiOAwNkR=u5it{B9n2sAJV5pNhar=j5`*N!Na;c7g!l$ z3aYBqUkqqTJ=Re-;)s!EOeij=7SQZ3Hq}ZRds%IM*PtM$wV z@;rlc*NRK7i3y5BETSKuumEN`Xu_8GP1Ri=OKQ$@I^ko8>H6)4rjiG5{VBM>B|%`&&s^)jS|-_95&yc=GqjNo{zFkw%%HHhS~e=s zD#sfS+-?*t|J!+ozP6KvtOl!R)@@-z24}`9{QaVLD^9VCSR2b`b!KC#o;Ki<+wXB6 zx3&O0LOWcg4&rv4QG0)4yb}7BFSEg~=IR5#ZRj8kg}dS7_V&^%#Do==#`u zpy6{ox?jWuR(;pg+f@mT>#HGWHAJRRDDDv~@(IDw&R>9643kK#HN`!1vBJHnC+RM&yIh8{gG2q zA%e*U3|N0XSRa~oX-3EAneep)@{h2vvd3Xvy$7og(sayr@95+e6~Xvi1tUqnIxoIH zVWo*OwYElb#uyW{Imam6f2rGbjR!Y3`#gPqkv57dB6K^wRGxc9B(t|aYDGS=m$&S!NmCtrMMaUg(c zc2qC=2Z`EEFMW-me5B)24AqF*bV5Dr-M5ig(l-WPS%CgaPzs6p_gnCIvTJ=Y<6!gT zVt@AfYCzjjsMEGi=rDQHo0yc;HqoRNnNFeWZgcm?f;cp(6CNylj36DoL(?TS7eU#+ z7&mfr#y))+CJOXQKUMZ7QIdS9@#-}7y2K1{8)cCt0~-X0O!O?Qx#E4Og+;A2SjalQ zs7r?qn0H044=sDN$SRG$arw~n=+T_DNdSrarmu)V6@|?1-ZB#hRn`uilTGPJ@fqEy zGt(f0B+^JDP&f=r{#Y_wi#AVDf-y!RIXU^0jXsFpf>=Ji*TeqSY!H~AMbJdCGLhC) zn7Rx+sXw6uYj;WRYrLd^5IZq@6JI1C^YkgnedZEYy<&4(z%Q$5yv#Boo{AH8n$a zhb4Y3PWdr269&?V%uI$xMcUrMzl=;w<_nm*qr=c3Rl@i5wWB;e-`t7D&c-mcQl7x! zZWB`UGcw=Y2=}~wzrfLx=uet<;m3~=8I~ZRuzvMQUQdr+yTV|ATf1Uuomr__nDf=X zZ3WYJtHp_ri(}SQAPjv+Y+0=fH4krOP@S&=zZ-t1jW1o@}z;xk8 z(Nz1co&El^HK^NrhVHa-_;&88vTU>_J33=%{if;BEY*J#1n59=07jrGQ#IP>@u#3A z;!q+E1Rj3ZJ+!4bq9F8PXJ@yMgZL;>&gYA0%_Kbi8?S=XGM~dnQZQ!yBSgcZhY96H zrWnU;k)qy`rX&&xlDyA%(a1Hhi5CWkmg(`Gb%m(HKi-7Z!LKGRP_B8@`7&hdDy5n= z`OIxqxiVfX@OX1p(mQu>0Ai*v_cTMiw4qRt3~NBvr9oBy0)r>w3p~V0SCm=An6@3n)>@z!|o-$HvDK z|3D2ZMJkLE5loMKl6R^ez@Zz%S$&mbeoqH5`Bb){Ei21q&VP)hWS2tjShfFtGE+$z zzCR$P#uktu+#!w)cX!lWN1XU%K-r=s{|j?)Akf@q#3b#{6cZCuJ~gCxuMXRmI$nGtnH+-h z+GEi!*X=AP<|fG`1>MBdTb?28JYc=fGvAi2I<$B(rs$;eoJCyR6_bc~p!XR@O-+sD z=eH`-ye})I5ic1eL~TDmtfJ|8`0VJ*Yr=hNCd)G1p2MMz4C3^Mj?7;!w|Ly%JqmuW zlIEW^Ft%z?*|fpXda>Jr^1noFZEwFgVV%|*XhH@acv8rdGxeEX{M$(vG{Zw+x(ei@ zmfXb22}8-?Fi`vo-YVrTH*C?a8%M=Hv9MqVH7H^J$KsD?>!SFZ;ZsvnHr_gn=7acz z#W?0eCdVhVMWN12VV^$>WlQ?f;P^{(&pYTops|btm6aj>_Uz+hqpGwB)vWp0Cf5y< zft8-je~nn?W11plq}N)4A{l8I7$!ks_x$PXW-2XaRFswX_BnF{R#6YIwMhAgd5F9X zGmwdadS6(a^fjHtXg8=l?Rc0Sm%hk6E9!5cLVloEy4eh(=FwgP`)~I^5~pBEWo+F6 zSf2ncyMurJN91#cJTy_u8Y}@%!bq1RkGC~-bV@SXRd4F{R-*V`bS+6;W5vZ(&+I<9$;-V|eNfLa5n-6% z2(}&uGRF;p92eS*sE*oR$@pexaqr*meB)VhmIg@h{uzkk$9~qh#cHhw#>O%)b@+(| z^IQgqzuj~Sk(J;swEM-3TrJAPCq9k^^^`q{IItKBRXYe}e0Tdr=Huf7da3$l4PdpwWDop%^}n;dD#K4s#DYA8SHZ z&1!riV4W4R7R#C))JH1~axJ)RYnM$$lIR%6fIVA@zV{XVyx}C+a-Dt8Y9M)^KU0+H zR4IUb2CJ{Hg>CuaXtD50jB(_Tcx=Z$^WYu2u5kubqmwp%drJ6 z?Fo40g!Qd<-l=TQxqHEOuPX0;^z7iX?Ke^a%XT<13TA^5`4Xcw6D@Ur&VT&CUe0d} z1GjOVF1^L@>O)l@?bD~$wzgf(nxX1OGD8fEV?TdJcZc2KoUe|oP1#=$$7ee|xbY)A zDZq+cuTpc(fFdj^=!;{k03C69lMQ(|>uhRfRu%+!k&YOi-3|1QKB z z?n?eq1XP>p-IM$Z^C;2L3itnbJZAip*Zo0aw2bs8@(s^~*8T9go!%dHcAz2lM;`yp zD=7&xjFV$S&5uDaiScyD?B-i1ze`+CoRtz`Wn+Zl&#s4&}MO{@N!ufrzjG$B79)Y2d3tBk&)TxUTw@QS0TEL_?njX|@vq?Uz(nBFK5Pq7*xj#u*R&i|?7+6# z+|r_n#SW&LXhtheZdah{ZVoqwyT{D>MC3nkFF#N)xLi{p7J1jXlmVeb;cP5?e(=f# zuT7fvjSbjS781v?7{)-X3*?>tq?)Yd)~|1{BDS(pqC zC}~H#WXlkUW*H5CDOo<)#x7%RY)A;ShGhI5s*#cRDA8YgqG(HeKDx+#(ZQ?386dv! zlXCO)w91~Vw4AmOcATuV653fa9R$fyK8ul%rG z-wfS zihugoZyr38Im?Zuh6@RcF~t1anQu7>#lPpb#}4cOA!EM11`%f*07RqOVkmX{p~KJ9 z^zP;K#|)$`^Rb{rnHGH{~>1(fawV0*Z#)}M`m8-?ZJV<+e}s9wE# z)l&az?w^5{)`S(%MRzxdNqrs1n*-=jS^_jqE*5XDrA0+VE`5^*p3CuM<&dZEeCjoz zR;uu_H9ZPZV|fQq`Cyw4nscrVwi!fE6ciMmX$!_hN7uF;jjKG)d2@aC4ropY)8etW=xJvni)8eHi`H$%#zn^WJ5NLc-rqk|u&&4Z6fD_m&JfSI1Bvb?b<*n&sfl0^t z=HnmRl`XrFvMKB%9}>PaA`m-fK6a0(8=qPkWS5bb4=v?XcWi&hRY?O5HdulRi4?fN zlsJ*N-0Qw+Yic@s0(2uy%F@ib;GjXt01Fmx5XbRo6+n|pP(&nodMoap^z{~q ziEeaUT@Mxe3vJSfI6?uLND(CNr=#^W<1b}jzW58bIfyWTDle$mmS(|x-0|2UlX+9k zQ^EX7Nw}?EzVoBfT(-LT|=9N@^hcn-_p&sqG z&*oVs2JSU+N4ZD`FhCAWaS;>|wH2G*Id|?pa#@>tyxX`+4HyIArWDvVrX)2WAOQff z0qyHu&-S@i^MS-+j--!pr4fPBj~_8({~e1bfcl0wI1kaoN>mJL6KUPQm5N7lB(ui1 zE-o%kq)&djzWJ}ob<-GfDlkB;F31j-VHKvQUGQ3sp`CwyGJk_i!y^sD0fqC@$9|jO zOqN!r!8-p==F@ZVP=U$qSpY(gQ0)59P1&t@y?5rvg<}E+GB}26NYPp4f2YFQrQtot5mn3wu_qprZ=>Ig-$ zbW26Ws~IgY>}^5w`vTB(G`PTZaDiGBo5o(tp)qli|NeV( z@H_=R8V39rt5J5YB2Ky?4eJJ#b`_iBe2ot~6%7mLt5t8Vwi^Jy7|jWXqa3amOIoRb zOr}WVFP--DsS`1WpN%~)t3R!arKF^Q$e12KEqU36AWwnCBICpH4XCsfnyrHr>$I$4 z!DpKX$OKLWarN7nv@!uIA+~RNO)l$$w}p(;b>mx8pwYvu;dD_unryX_NhT8*Tj>BTrTTL&!?O+%Rv;b?B??gSzdp?6Uug9{ zd@V08Z$BdI?fpoCS$)t4mg4rT8Q_I}h`0d-vYZ^|dOB*Q^S|xqTV*vIg?@fVFSmMpaw0qtTRbx} z({Pg?#{2`sc9)M5N$*N|4;^t$+QP?#mov zGVC@I*lBVrOU-%2y!7%)fAKjpEFsgQc4{amtiHb95KQEwvf<(3T<9-Zm$xIew#P22 zc2Ix|App^>v6(3L_MCU0d3W##AB0M~3D00EWoKZqsJYT(#@w$Y_H7G22M~ApVFTRHMI_3be)Lkn#0F*V8Pq zc}`Cjy$bE;FJ6H7p=0y#R>`}-m4(0F>%@P|?7fx{=R^uFdISRnZ2W_xQhD{YuR3t< z{6yxu=4~JkeA;|(J6_nv#>Nvs&FuLA&PW^he@t(UwFFE8)|a!R{`E`K`i^ZnyE4$k z;(749Ix|oi$c3QbEJ3b~D_kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{} zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 diff --git a/hr_holidays_public/static/description/icon.svg b/hr_holidays_public/static/description/icon.svg new file mode 100755 index 00000000..a7a26d09 --- /dev/null +++ b/hr_holidays_public/static/description/icon.svg @@ -0,0 +1,79 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/hr_holidays_public/tests/__init__.py b/hr_holidays_public/tests/__init__.py new file mode 100644 index 00000000..80c10d1e --- /dev/null +++ b/hr_holidays_public/tests/__init__.py @@ -0,0 +1,2 @@ +from . import test_holidays_calculation +from . import test_public_holidays diff --git a/hr_holidays_public/tests/test_holidays_calculation.py b/hr_holidays_public/tests/test_holidays_calculation.py new file mode 100644 index 00000000..7aaeca3d --- /dev/null +++ b/hr_holidays_public/tests/test_holidays_calculation.py @@ -0,0 +1,176 @@ +# -*- coding: utf-8 -*- +# Copyright 2015 iDT LABS (http://www.@idtlabs.sl) +# Copyright 2017 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo.tests import common +from odoo.tools import float_compare + + +class TestHolidaysComputeDaysBase(common.SavepointCase): + @classmethod + def setUpClass(cls): + super(TestHolidaysComputeDaysBase, cls).setUpClass() + cls.HrHolidays = cls.env['hr.holidays'] + cls.HrHolidaysPublic = cls.env["hr.holidays.public"] + + # Remove timezone for controlling data better + cls.env.user.tz = False + + 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.holiday_type = cls.env['hr.holidays.status'].create({ + 'name': 'Leave Type Test', + 'exclude_public_holidays': True, + 'exclude_rest_days': True, + 'compute_full_days': True, + }) + cls.holiday_type_no_excludes = cls.env['hr.holidays.status'].create({ + 'name': 'Leave Type Test Without excludes', + 'exclude_public_holidays': False, + 'exclude_rest_days': False, + 'compute_full_days': False, + }) + + +class TestHolidaysComputeDays(TestHolidaysComputeDaysBase): + def test_onchange_dates(self): + holidays = self.HrHolidays.new({ + 'date_from': '1946-12-20', + 'date_to': '1946-12-21', + 'holiday_status_id': self.holiday_type.id, + 'employee_id': self.employee_1.id, + }) + holidays._onchange_date_from() + self.assertEqual(holidays.date_from, '1946-12-20 00:00:00') + holidays._onchange_date_to() + self.assertEqual(holidays.date_to, '1946-12-21 23:59:59') + + def test_number_days_excluding_employee_1(self): + holidays = self.HrHolidays.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, + }) + holidays._onchange_data_hr_holidays_compute_days() + self.assertEqual(holidays.number_of_days_temp, 4) + self.assertEqual(holidays.number_of_hours_temp, 32) + self.assertEqual(holidays.number_of_hours, 32) + + def _test_number_days_excluding_employee_2(self): + holidays = self.HrHolidays.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, + }) + holidays._onchange_data_hr_holidays_compute_days() + self.assertEqual(holidays.number_of_days_temp, 2) + self.assertEqual(holidays.number_of_hours_temp, 16) + + def test_number_days_not_excluding(self): + holidays = self.HrHolidays.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, + }) + holidays._onchange_data_hr_holidays_compute_days() + self.assertEqual(holidays.number_of_days_temp, 7) + self.assertEqual( + float_compare(holidays.number_of_hours_temp, + 88, + precision_rounding=3), + 0) + + # Calendar is required field in resource, so can't test this +# def test_number_days_without_calendar(self): +# self.employee_1.resource_calendar_id = False +# holidays = self.HrHolidays.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, +# }) +# holidays._onchange_data_hr_holidays_compute_days() +# self.assertEqual(holidays.number_of_days_temp, 0) + + def test_fractional_number_days(self): + holidays = self.HrHolidays.new({ + 'date_from': '1946-12-23 00:00:00', + 'date_to': '1946-12-23 14:00:00', + 'holiday_status_id': self.holiday_type.id, + 'employee_id': self.employee_1.id, + }) + holidays._onchange_data_hr_holidays_compute_days() + self.assertEqual( + float_compare(holidays.number_of_days_temp, + 0.563, + precision_rounding=3), + 0) + self.assertEqual(holidays.number_of_hours_temp, 4.0) diff --git a/hr_holidays_public/tests/test_public_holidays.py b/hr_holidays_public/tests/test_public_holidays.py new file mode 100644 index 00000000..29169e9a --- /dev/null +++ b/hr_holidays_public/tests/test_public_holidays.py @@ -0,0 +1,224 @@ +# © 2015 Salton Massally +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo.exceptions import ValidationError +from odoo.exceptions import Warning as UserError +from odoo.tests import common +from odoo.tools import test_reports + + +class TestPublicHolidays(common.TransactionCase): + + def setUp(self): + super(TestPublicHolidays, self).setUp() + self.holiday_model = self.env["hr.holidays.public"] + self.holiday_model_line = self.env["hr.holidays.public.line"] + self.employee_model = self.env['hr.employee'] + self.wizard_next_year = self.env['public.holidays.next.year.wizard'] + + # Remove possibly existing public holidays that would interfer. + self.holiday_model_line.search([]).unlink() + self.holiday_model.search([]).unlink() + + # Create holidays + holiday2 = self.holiday_model.create({ + 'year': 1994, + 'country_id': self.env.ref('base.sl').id + }) + self.holiday_model_line.create({ + 'name': 'holiday 5', + 'date': '1994-10-14', + 'year_id': holiday2.id + }) + + holiday3 = self.holiday_model.create({ + 'year': 1994, + 'country_id': self.env.ref('base.sk').id + }) + self.holiday_model_line.create({ + 'name': 'holiday 6', + 'date': '1994-11-14', + 'year_id': holiday3.id + }) + + holiday1 = self.holiday_model.create({ + 'year': 1995, + }) + for dt in ['1995-10-14', '1995-12-31', '1995-01-01']: + self.holiday_model_line.create({ + 'name': 'holiday x', + 'date': dt, + 'year_id': holiday1.id + }) + + self.employee = self.employee_model.create( + { + 'name': 'Employee 1', + 'address_id': self.env['res.partner'].create( + { + 'name': 'Employee 1', + 'country_id': self.env.ref('base.sl').id + } + ).id + } + ) + + 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('1995-12-10')) + + def test_is_holiday(self): + # ensures that correct holidays are identified + self.assertTrue(self.holiday_model.is_public_holiday('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( + '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( + '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 == '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 == '1995-10-14') + self.assertEqual(len(res), 1) + self.assertEqual(len(lines), 3) + + def test_create_next_year_public_holidays(self): + self.wizard_next_year.new().create_public_holidays() + lines = self.holiday_model.get_holidays_list(1996) + res = lines.filtered(lambda r: r.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_report_summary_report(self): + self.env['hr.holidays'].create({ + 'date_from': '1995-10-20', + 'date_to': '1995-10-21', + 'holiday_status_id': self.env['hr.holidays.status'].search( + [])[0].id, + 'employee_id': self.employee.id, + }) + data = {'date_from': '1995-10-01', + 'emp': self.env['hr.employee'].search([]).ids, + 'holiday_type': 'both'} + report = self.env['hr.holidays.summary.employee'].create(data) + datas = { + 'ids': [], + 'model': 'hr.employee', + 'form': data + } + test_reports.try_report(self.env.cr, self.env.uid, + 'hr_holidays.report_holidayssummary', + [report.id], data=datas, + report_type='qweb') diff --git a/hr_holidays_public/views/hr_holidays_status_views.xml b/hr_holidays_public/views/hr_holidays_status_views.xml new file mode 100644 index 00000000..a53d8989 --- /dev/null +++ b/hr_holidays_public/views/hr_holidays_status_views.xml @@ -0,0 +1,18 @@ + + + + + hr.holidays.status.form - Add compute fields + hr.holidays.status + + + + + + + + + + + diff --git a/hr_holidays_public/views/hr_holidays_views.xml b/hr_holidays_public/views/hr_holidays_views.xml new file mode 100644 index 00000000..6b7bd4ff --- /dev/null +++ b/hr_holidays_public/views/hr_holidays_views.xml @@ -0,0 +1,106 @@ + + + + + Leave Request - Add full days + hr.holidays + + + + + + + hours + + + + + + hr.holidays.graph + hr.holidays + + + + + + + + + + hr.holidays.allocation.tree + hr.holidays + + + + + + + + + + hr.holidays.allocation.tree.customize + hr.holidays + + + + + + + + + + hr.holidays.report_tree + hr.holidays + + + + + + + + + + hr.holidays.kanban + hr.holidays + + + + + +
+
+ + + + + + + +
hours
days
+
+
+
+
+ + + hr.holidays.report_employee_tree + hr.holidays + + + + + + + + + + hr.holidays.tree + hr.holidays + + + + + + + +
diff --git a/hr_holidays_public/views/hr_public_holidays_view.xml b/hr_holidays_public/views/hr_public_holidays_view.xml new file mode 100644 index 00000000..16e43736 --- /dev/null +++ b/hr_holidays_public/views/hr_public_holidays_view.xml @@ -0,0 +1,57 @@ + + + + + hr.holidays.public.tree + hr.holidays.public + + + + + + + + + + hr.holidays.public.form + hr.holidays.public + +
+ + + + + + + + + + + + + + + + +
+
+ + + Public Holidays + hr.holidays.public + tree,form + + + + + + +
diff --git a/hr_holidays_public/wizards/__init__.py b/hr_holidays_public/wizards/__init__.py new file mode 100644 index 00000000..1f8315da --- /dev/null +++ b/hr_holidays_public/wizards/__init__.py @@ -0,0 +1 @@ +from . import public_holidays_next_year_wizard diff --git a/hr_holidays_public/wizards/public_holidays_next_year_wizard.py b/hr_holidays_public/wizards/public_holidays_next_year_wizard.py new file mode 100644 index 00000000..4a007e5e --- /dev/null +++ b/hr_holidays_public/wizards/public_holidays_next_year_wizard.py @@ -0,0 +1,103 @@ +# Copyright 2016 Trobz +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import logging + +from odoo import api, models, fields, _ +from odoo.exceptions import Warning as UserError + +_logger = logging.getLogger(__name__) + + +class PublicHolidaysNextYearWizard(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.', + ) + + @api.multi + 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: + ph_line_date = fields.Date.from_string(last_ph_line.date) + + feb_29 = ( + ph_line_date.month == 2 and + 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 = 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 diff --git a/hr_holidays_public/wizards/public_holidays_next_year_wizard.xml b/hr_holidays_public/wizards/public_holidays_next_year_wizard.xml new file mode 100644 index 00000000..498dbab6 --- /dev/null +++ b/hr_holidays_public/wizards/public_holidays_next_year_wizard.xml @@ -0,0 +1,74 @@ + + + + + + + Create Next Year Public Holidays + public.holidays.next.year.wizard + +
+ +
+ Use this wizard to create public holidays based on the + existing ones.
+ 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). +
+ + + +
+ By default, the most recent public holidays + for each country are used as template to create + public holidays for the year following the templates. +

+ Normally, you should not need to input anything in + optional fields and only need to click on the button + "Create". +
+
+ +
+ 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." +
+ + + + +
+
+ +
+
+
+
+
+
+ + + Create Next Year Public Holidays + public.holidays.next.year.wizard + form + form + new + + + + + +
From 7b61243b69f8d5c488c9dd2e58fcbc4826ea4042 Mon Sep 17 00:00:00 2001 From: mreficent Date: Tue, 10 Jul 2018 15:49:36 +0200 Subject: [PATCH 02/76] [FIX] hr_holidays_public: Review comments --- hr_holidays_public/README.rst | 18 +- hr_holidays_public/__manifest__.py | 8 +- hr_holidays_public/i18n/ar.po | 186 +++++++++--------- hr_holidays_public/i18n/de.po | 186 +++++++++--------- hr_holidays_public/i18n/es.po | 186 +++++++++--------- hr_holidays_public/i18n/fi.po | 186 +++++++++--------- hr_holidays_public/i18n/fr.po | 186 +++++++++--------- hr_holidays_public/i18n/hr.po | 186 +++++++++--------- hr_holidays_public/i18n/hr_HR.po | 186 +++++++++--------- hr_holidays_public/i18n/it.po | 186 +++++++++--------- hr_holidays_public/i18n/nl_NL.po | 186 +++++++++--------- hr_holidays_public/i18n/pl.po | 186 +++++++++--------- hr_holidays_public/i18n/pt_BR.po | 186 +++++++++--------- hr_holidays_public/i18n/ro.po | 186 +++++++++--------- hr_holidays_public/i18n/sl.po | 186 +++++++++--------- hr_holidays_public/models/__init__.py | 4 +- hr_holidays_public/models/hr_employee.py | 22 ++- hr_holidays_public/models/hr_holidays.py | 8 +- ...blic_holidays.py => hr_holidays_public.py} | 2 +- ...ays_line.py => hr_holidays_public_line.py} | 2 +- .../models/hr_holidays_status.py | 2 +- hr_holidays_public/models/resource.py | 5 +- hr_holidays_public/tests/__init__.py | 2 +- .../tests/test_holidays_calculation.py | 16 +- ...ic_holidays.py => test_holidays_public.py} | 6 +- ...s_view.xml => hr_holidays_public_view.xml} | 10 +- .../views/hr_holidays_views.xml | 163 +++++++-------- hr_holidays_public/wizards/__init__.py | 2 +- ...py => holidays_public_next_year_wizard.py} | 2 +- ...l => holidays_public_next_year_wizard.xml} | 2 +- 30 files changed, 1342 insertions(+), 1350 deletions(-) rename hr_holidays_public/models/{hr_public_holidays.py => hr_holidays_public.py} (99%) rename hr_holidays_public/models/{hr_public_holidays_line.py => hr_holidays_public_line.py} (98%) rename hr_holidays_public/tests/{test_public_holidays.py => test_holidays_public.py} (98%) rename hr_holidays_public/views/{hr_public_holidays_view.xml => hr_holidays_public_view.xml} (87%) rename hr_holidays_public/wizards/{public_holidays_next_year_wizard.py => holidays_public_next_year_wizard.py} (98%) rename hr_holidays_public/wizards/{public_holidays_next_year_wizard.xml => holidays_public_next_year_wizard.xml} (98%) diff --git a/hr_holidays_public/README.rst b/hr_holidays_public/README.rst index f4b42ef2..7b72a40a 100644 --- a/hr_holidays_public/README.rst +++ b/hr_holidays_public/README.rst @@ -9,23 +9,23 @@ HR Public Holidays This module is a technical module to handle public holidays. The calculation of each leave can exclude rest days or public holiday. The calculation of each leave includes the number of hours taken from -.employee calendar attendances +employee calendar attendances Installation ============ To install this module, you need to: -* clone the branch 11.0 of the repository https://github.com/OCA/hr -* add the path to this repository in your configuration (addons-path) -* update the module list -* search for "Public Holidays" in your addons -* install the module +#. Clone the branch 11.0 of the repository https://github.com/OCA/hr +#. Add the path to this repository in your configuration (addons-path) +#. Update the module list +#. Search for "Public Holidays" in your addons +#. Install the module Configuration ============= -Go to Leaves -> Configuration and open a Leave Type +Go to *Leaves -> Configuration* and open a Leave Type * Check "Exclude Rest Days" to exclude resource calendar rest days * Check "Exclude Public Holidays" to exclude public holidays @@ -41,10 +41,6 @@ public holidays. :alt: Try me on Runbot :target: https://runbot.odoo-community.org/runbot/116/11.0 -Known issues / Roadmap -====================== - - Bug Tracker =========== diff --git a/hr_holidays_public/__manifest__.py b/hr_holidays_public/__manifest__.py index f03aacaf..43a9546d 100644 --- a/hr_holidays_public/__manifest__.py +++ b/hr_holidays_public/__manifest__.py @@ -2,11 +2,11 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { - 'name': 'HR Public Holidays', + 'name': 'HR Holidays Public', 'version': '11.0.1.0.0', 'license': 'AGPL-3', 'category': 'Human Resources', - 'author': "Michael Telahun Makonnen , " + 'author': "Michael Telahun Makonnen, " "Odoo Community Association (OCA)", 'summary': "Manage Public Holidays", 'website': 'https://github.com/OCA/hr', @@ -15,13 +15,13 @@ ], 'data': [ 'security/ir.model.access.csv', - 'views/hr_public_holidays_view.xml', + 'views/hr_holidays_public_view.xml', 'views/hr_holidays_status_views.xml', 'report/hr_holidays_leaves_report_views.xml', 'report/hr_holidays_templates.xml', 'report/hr_holidays_views.xml', 'views/hr_holidays_views.xml', - 'wizards/public_holidays_next_year_wizard.xml', + 'wizards/holidays_public_next_year_wizard.xml', ], 'installable': True, } diff --git a/hr_holidays_public/i18n/ar.po b/hr_holidays_public/i18n/ar.po index 44be9cb4..c12308fb 100644 --- a/hr_holidays_public/i18n/ar.po +++ b/hr_holidays_public/i18n/ar.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_public_holidays +# * hr_holidays_public # # Translators: # OCA Transbot , 2016 @@ -19,8 +19,8 @@ msgstr "" "Language: ar\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_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -31,156 +31,156 @@ msgid "" " \"Create\"." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_year msgid "Calendar Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Cancel" msgstr "إلغاء" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id msgid "Country" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +#. 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_holidays_public_next_year_wizard_create_uid msgid "Created by" msgstr "انشئ من قبل" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +#. 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_holidays_public_next_year_wizard_create_date msgid "Created on" msgstr "وقت الانشاء" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_holidays_public_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_date msgid "Date" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable msgid "Date may change" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " "being assigned to" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +#. 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_holidays_public_next_year_wizard_display_name msgid "Display Name" msgstr "إسم العرض" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +#. 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_holidays_public_next_year_wizard_id msgid "ID" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +#. 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_holidays_public_next_year_wizard___last_update msgid "Last Modified on" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_uid msgid "Last Updated by" msgstr "اخر تعديل من قبل" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_date msgid "Last Updated on" msgstr "اخر تعديل في" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +#. 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_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " "Holidays manually." msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public -#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +#. 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_hr_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line msgid "Public Holidays Lines" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +#. 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_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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 " @@ -188,13 +188,13 @@ msgid "" "from 2012 and 2015, only the templates from 2015 will be taken into account." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids msgid "Templates" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -203,8 +203,8 @@ msgid "" " replicate the 2010 Italian holidays to 2012.\"" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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.
\n" @@ -215,40 +215,40 @@ msgid "" " account)." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year msgid "Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country" " states." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/de.po b/hr_holidays_public/i18n/de.po index cda78f89..a55858f9 100644 --- a/hr_holidays_public/i18n/de.po +++ b/hr_holidays_public/i18n/de.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_public_holidays +# * hr_holidays_public # # Translators: # OCA Transbot , 2016 @@ -18,8 +18,8 @@ msgstr "" "Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -30,65 +30,65 @@ msgid "" " \"Create\"." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_year msgid "Calendar Year" msgstr "Kalenderjahr" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Cancel" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +#. 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_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +#. 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_holidays_public_next_year_wizard_create_uid msgid "Created by" msgstr "Erstellt von" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +#. 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_holidays_public_next_year_wizard_create_date msgid "Created on" msgstr "Angelegt am" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_holidays_public_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable msgid "Date may change" msgstr "Datum kann sich ändern" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -97,91 +97,91 @@ msgstr "" "Die Feiertage sollten das gleiche Jahr wie das Kalenderjahr sein, dem sie " "zugewiesen werden" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +#. 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_holidays_public_next_year_wizard_display_name msgid "Display Name" msgstr "Anzeigename" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +#. 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_holidays_public_next_year_wizard_id msgid "ID" msgstr "ID" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +#. 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_holidays_public_next_year_wizard___last_update msgid "Last Modified on" msgstr "Zuletzt geändert am" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_uid msgid "Last Updated by" msgstr "Zuletzt aktualisiert durch" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_date msgid "Last Updated on" msgstr "Zuletzt aktualisiert am" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +#. 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_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " "Holidays manually." msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public -#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +#. 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_hr_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Feiertage" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line msgid "Public Holidays Lines" msgstr "Feiertagszeilen" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +#. 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_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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 " @@ -189,13 +189,13 @@ msgid "" "from 2012 and 2015, only the templates from 2015 will be taken into account." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids msgid "Templates" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -204,8 +204,8 @@ msgid "" " replicate the 2010 Italian holidays to 2012.\"" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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.
\n" @@ -216,20 +216,20 @@ msgid "" " account)." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year msgid "Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country" @@ -238,23 +238,23 @@ msgstr "" "Sie können keinen öffentlichen Feiertag doppelt pro Datum %s und einem der " "Länder erstellen." -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 #, 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_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 #, 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_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/es.po b/hr_holidays_public/i18n/es.po index f56924a7..59b3c283 100644 --- a/hr_holidays_public/i18n/es.po +++ b/hr_holidays_public/i18n/es.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_public_holidays +# * hr_holidays_public # # Translators: # OCA Transbot , 2016 @@ -19,8 +19,8 @@ msgstr "" "Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -31,65 +31,65 @@ msgid "" " \"Create\"." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_year msgid "Calendar Year" msgstr "Año del calendario" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Cancel" msgstr "Cancelar" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +#. 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_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +#. 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_holidays_public_next_year_wizard_create_uid msgid "Created by" msgstr "Creado por" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +#. 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_holidays_public_next_year_wizard_create_date msgid "Created on" msgstr "Creado el" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_holidays_public_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable msgid "Date may change" msgstr "La fecha puede cambiar" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -98,91 +98,91 @@ 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_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +#. 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_holidays_public_next_year_wizard_display_name msgid "Display Name" msgstr "Mostrar nombre" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +#. 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_holidays_public_next_year_wizard_id msgid "ID" msgstr "ID" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +#. 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_holidays_public_next_year_wizard___last_update msgid "Last Modified on" msgstr "Última modificación el" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_uid msgid "Last Updated by" msgstr "Última actualización por" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_date msgid "Last Updated on" msgstr "Última actualización en" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +#. 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_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " "Holidays manually." msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public -#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +#. 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_hr_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Vacaciones públicas" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line msgid "Public Holidays Lines" msgstr "Líneas de vacaciones públicas" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +#. 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_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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 " @@ -190,13 +190,13 @@ msgid "" "from 2012 and 2015, only the templates from 2015 will be taken into account." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids msgid "Templates" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -205,8 +205,8 @@ msgid "" " replicate the 2010 Italian holidays to 2012.\"" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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.
\n" @@ -217,20 +217,20 @@ msgid "" " account)." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year msgid "Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country" @@ -239,20 +239,20 @@ msgstr "" "No puede crear vacaciones públicas duplicadas para la fecha %s y una de las " "provincias." -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "No puede crear vacaciones públicas duplicadas para la fecha %s." -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "No puede crear vacaciones públicas duplicadas para el año y/o país." -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/fi.po b/hr_holidays_public/i18n/fi.po index 7fb19d15..fce83354 100644 --- a/hr_holidays_public/i18n/fi.po +++ b/hr_holidays_public/i18n/fi.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_public_holidays +# * hr_holidays_public # # Translators: # OCA Transbot , 2016 @@ -18,8 +18,8 @@ msgstr "" "Language: fi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -30,156 +30,156 @@ msgid "" " \"Create\"." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_year msgid "Calendar Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Cancel" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id msgid "Country" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +#. 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_holidays_public_next_year_wizard_create_uid msgid "Created by" msgstr "Luonut" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +#. 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_holidays_public_next_year_wizard_create_date msgid "Created on" msgstr "Luotu" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_holidays_public_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_date msgid "Date" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable msgid "Date may change" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " "being assigned to" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +#. 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_holidays_public_next_year_wizard_display_name msgid "Display Name" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +#. 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_holidays_public_next_year_wizard_id msgid "ID" msgstr "ID" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +#. 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_holidays_public_next_year_wizard___last_update msgid "Last Modified on" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_uid msgid "Last Updated by" msgstr "Viimeksi päivittänyt" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_date msgid "Last Updated on" msgstr "Viimeksi päivitetty" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +#. 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_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " "Holidays manually." msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public -#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +#. 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_hr_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line msgid "Public Holidays Lines" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +#. 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_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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 " @@ -187,13 +187,13 @@ msgid "" "from 2012 and 2015, only the templates from 2015 will be taken into account." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids msgid "Templates" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -202,8 +202,8 @@ msgid "" " replicate the 2010 Italian holidays to 2012.\"" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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.
\n" @@ -214,40 +214,40 @@ msgid "" " account)." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year msgid "Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country" " states." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/fr.po b/hr_holidays_public/i18n/fr.po index 49224a5d..28815972 100644 --- a/hr_holidays_public/i18n/fr.po +++ b/hr_holidays_public/i18n/fr.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_public_holidays +# * hr_holidays_public # # Translators: # OCA Transbot , 2016 @@ -19,8 +19,8 @@ msgstr "" "Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -31,65 +31,65 @@ msgid "" " \"Create\"." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_year msgid "Calendar Year" msgstr "Année Calendaire" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Cancel" msgstr "Annuler" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +#. 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_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +#. 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_holidays_public_next_year_wizard_create_uid msgid "Created by" msgstr "Créé par" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +#. 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_holidays_public_next_year_wizard_create_date msgid "Created on" msgstr "Créé le" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_holidays_public_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable msgid "Date may change" msgstr "La Date peux cjanger" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -98,91 +98,91 @@ msgstr "" "Les dates des jours fériés doivent correspondre à l'année du calendrier " "auxquelles elles sont assignées" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +#. 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_holidays_public_next_year_wizard_display_name msgid "Display Name" msgstr "Nom affiché" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +#. 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_holidays_public_next_year_wizard_id msgid "ID" msgstr "ID" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +#. 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_holidays_public_next_year_wizard___last_update msgid "Last Modified on" msgstr "Dernière modification le" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_uid msgid "Last Updated by" msgstr "Mis-à-jour par" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_date msgid "Last Updated on" msgstr "Mis-à-jour le" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +#. 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_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " "Holidays manually." msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public -#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +#. 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_hr_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Jours fériés" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +#. 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_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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 " @@ -190,13 +190,13 @@ msgid "" "from 2012 and 2015, only the templates from 2015 will be taken into account." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids msgid "Templates" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -205,8 +205,8 @@ msgid "" " replicate the 2010 Italian holidays to 2012.\"" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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.
\n" @@ -217,40 +217,40 @@ msgid "" " account)." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year msgid "Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country" " states." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/hr.po b/hr_holidays_public/i18n/hr.po index a4509351..a16ee739 100644 --- a/hr_holidays_public/i18n/hr.po +++ b/hr_holidays_public/i18n/hr.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_public_holidays +# * hr_holidays_public # # Translators: # Bole , 2017 @@ -18,8 +18,8 @@ msgstr "" "Language: hr\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_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -30,65 +30,65 @@ msgid "" " \"Create\"." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_year msgid "Calendar Year" msgstr "Kalendarska godina" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Cancel" msgstr "Odustani" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +#. 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_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create" msgstr "Kreiraj" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_holidays_public +#: model: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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +#. 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_holidays_public_next_year_wizard_create_uid msgid "Created by" msgstr "Kreirao" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +#. 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_holidays_public_next_year_wizard_create_date msgid "Created on" msgstr "Kreirano" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_holidays_public_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "Kreiraj državne praznike iz postojećih" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable msgid "Date may change" msgstr "Datum može varirati" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -97,58 +97,58 @@ msgstr "" "Datumi praznika bi trebali biti u istoj godini za koju je kreiran ovaj " "kalendar" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" msgstr "Zadane vrijednosti" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +#. 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_holidays_public_next_year_wizard_display_name msgid "Display Name" msgstr "Naziv" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +#. 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_holidays_public_next_year_wizard_id msgid "ID" msgstr "ID" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +#. 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_holidays_public_next_year_wizard___last_update msgid "Last Modified on" msgstr "Zadnje modificirano" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_uid msgid "Last Updated by" msgstr "Zadnji ažurirao" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_date msgid "Last Updated on" msgstr "Zadnje ažurirano" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +#. 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_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " @@ -157,33 +157,33 @@ msgstr "" "Nisu pronađeni predlošci državnih praznika. Molimo kreirajte prvi državni " "praznik ručno." -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "Opcionalno" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public -#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +#. 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_hr_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Državni praznici" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +#. 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_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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 " @@ -191,13 +191,13 @@ msgid "" "from 2012 and 2015, only the templates from 2015 will be taken into account." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids msgid "Templates" msgstr "Predlošci" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -206,8 +206,8 @@ msgid "" " replicate the 2010 Italian holidays to 2012.\"" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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.
\n" @@ -218,40 +218,40 @@ msgid "" " account)." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year msgid "Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country" " states." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/hr_HR.po b/hr_holidays_public/i18n/hr_HR.po index 1e6dd3ab..d2e295b0 100644 --- a/hr_holidays_public/i18n/hr_HR.po +++ b/hr_holidays_public/i18n/hr_HR.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_public_holidays +# * hr_holidays_public # # Translators: # OCA Transbot , 2016 @@ -19,8 +19,8 @@ msgstr "" "Language: hr_HR\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_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -31,65 +31,65 @@ msgid "" " \"Create\"." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_year msgid "Calendar Year" msgstr "Kalendarska godina" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Cancel" msgstr "Odustani" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +#. 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_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +#. 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_holidays_public_next_year_wizard_create_uid msgid "Created by" msgstr "Kreirao" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +#. 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_holidays_public_next_year_wizard_create_date msgid "Created on" msgstr "Kreirano" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_holidays_public_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable msgid "Date may change" msgstr "Datum može varirati" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -98,91 +98,91 @@ msgstr "" "Datumi praznika trebaju pripadati istoj kalendarskoj godini u kojoj su " "definirani" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +#. 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_holidays_public_next_year_wizard_display_name msgid "Display Name" msgstr "Naziv" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +#. 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_holidays_public_next_year_wizard_id msgid "ID" msgstr "ID" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +#. 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_holidays_public_next_year_wizard___last_update msgid "Last Modified on" msgstr "Zadnje ažurirano" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_uid msgid "Last Updated by" msgstr "Zadnji ažurirao" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_date msgid "Last Updated on" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +#. 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_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " "Holidays manually." msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public -#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +#. 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_hr_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Javni praznici" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +#. 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_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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 " @@ -190,13 +190,13 @@ msgid "" "from 2012 and 2015, only the templates from 2015 will be taken into account." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids msgid "Templates" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -205,8 +205,8 @@ msgid "" " replicate the 2010 Italian holidays to 2012.\"" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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.
\n" @@ -217,40 +217,40 @@ msgid "" " account)." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year msgid "Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country" " states." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/it.po b/hr_holidays_public/i18n/it.po index 24972f35..41651337 100644 --- a/hr_holidays_public/i18n/it.po +++ b/hr_holidays_public/i18n/it.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_public_holidays +# * hr_holidays_public # # Translators: # OCA Transbot , 2016 @@ -18,8 +18,8 @@ msgstr "" "Language: it\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -30,156 +30,156 @@ msgid "" " \"Create\"." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_year msgid "Calendar Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Cancel" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id msgid "Country" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +#. 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_holidays_public_next_year_wizard_create_uid msgid "Created by" msgstr "Creato da" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +#. 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_holidays_public_next_year_wizard_create_date msgid "Created on" msgstr "Creato il" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_holidays_public_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_date msgid "Date" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable msgid "Date may change" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " "being assigned to" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +#. 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_holidays_public_next_year_wizard_display_name msgid "Display Name" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +#. 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_holidays_public_next_year_wizard_id msgid "ID" msgstr "ID" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +#. 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_holidays_public_next_year_wizard___last_update msgid "Last Modified on" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_uid msgid "Last Updated by" msgstr "Ultimo aggiornamento di" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_date msgid "Last Updated on" msgstr "Ultimo aggiornamento il" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +#. 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_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " "Holidays manually." msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public -#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +#. 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_hr_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line msgid "Public Holidays Lines" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +#. 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_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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 " @@ -187,13 +187,13 @@ msgid "" "from 2012 and 2015, only the templates from 2015 will be taken into account." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids msgid "Templates" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -202,8 +202,8 @@ msgid "" " replicate the 2010 Italian holidays to 2012.\"" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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.
\n" @@ -214,40 +214,40 @@ msgid "" " account)." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year msgid "Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country" " states." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/nl_NL.po b/hr_holidays_public/i18n/nl_NL.po index e0163246..faa2eb40 100644 --- a/hr_holidays_public/i18n/nl_NL.po +++ b/hr_holidays_public/i18n/nl_NL.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_public_holidays +# * hr_holidays_public # # Translators: # Peter Hageman , 2017 @@ -18,8 +18,8 @@ msgstr "" "Language: nl_NL\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -30,156 +30,156 @@ msgid "" " \"Create\"." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_year msgid "Calendar Year" msgstr "Kalenderjaar" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Cancel" msgstr "Annuleer" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +#. 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_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create" msgstr "Aanmaken" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +#. 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_holidays_public_next_year_wizard_create_uid msgid "Created by" msgstr "Aangemaakt door" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +#. 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_holidays_public_next_year_wizard_create_date msgid "Created on" msgstr "Aangemaakt op" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_holidays_public_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "Maakt feestdagen aan van bestaande" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable msgid "Date may change" msgstr "Datum kan wijzigen" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " "being assigned to" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" msgstr "Standaard" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +#. 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_holidays_public_next_year_wizard_display_name msgid "Display Name" msgstr "Weergavenaam" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +#. 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_holidays_public_next_year_wizard_id msgid "ID" msgstr "ID" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +#. 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_holidays_public_next_year_wizard___last_update msgid "Last Modified on" msgstr "Laatst gewijzigd op" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_uid msgid "Last Updated by" msgstr "Laatst bijgewerkt door" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_date msgid "Last Updated on" msgstr "Laatst bijgewerkt op" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +#. 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_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " "Holidays manually." msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "Optioneel" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public -#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +#. 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_hr_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Feestdagen" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +#. 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_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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 " @@ -187,13 +187,13 @@ msgid "" "from 2012 and 2015, only the templates from 2015 will be taken into account." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids msgid "Templates" msgstr "Sjablonen" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -202,8 +202,8 @@ msgid "" " replicate the 2010 Italian holidays to 2012.\"" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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.
\n" @@ -214,40 +214,40 @@ msgid "" " account)." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year msgid "Year" msgstr "Jaar" -#. module: hr_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country" " states." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/pl.po b/hr_holidays_public/i18n/pl.po index 0a6038a0..3da334b3 100644 --- a/hr_holidays_public/i18n/pl.po +++ b/hr_holidays_public/i18n/pl.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_public_holidays +# * hr_holidays_public # # Translators: # OCA Transbot , 2016 @@ -18,8 +18,8 @@ msgstr "" "Language: pl\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_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -30,156 +30,156 @@ msgid "" " \"Create\"." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_year msgid "Calendar Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Cancel" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +#. 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_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +#. 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_holidays_public_next_year_wizard_create_uid msgid "Created by" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +#. 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_holidays_public_next_year_wizard_create_date msgid "Created on" msgstr "" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_holidays_public_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable msgid "Date may change" msgstr "Data może ulec zmianie" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " "being assigned to" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +#. 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_holidays_public_next_year_wizard_display_name msgid "Display Name" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +#. 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_holidays_public_next_year_wizard_id msgid "ID" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +#. 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_holidays_public_next_year_wizard___last_update msgid "Last Modified on" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_uid msgid "Last Updated by" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_date msgid "Last Updated on" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +#. 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_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " "Holidays manually." msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public -#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +#. 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_hr_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Dni wolne od pracy" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +#. 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_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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 " @@ -187,13 +187,13 @@ msgid "" "from 2012 and 2015, only the templates from 2015 will be taken into account." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids msgid "Templates" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -202,8 +202,8 @@ msgid "" " replicate the 2010 Italian holidays to 2012.\"" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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.
\n" @@ -214,40 +214,40 @@ msgid "" " account)." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year msgid "Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country" " states." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/pt_BR.po b/hr_holidays_public/i18n/pt_BR.po index 7f69e872..6d52e1df 100644 --- a/hr_holidays_public/i18n/pt_BR.po +++ b/hr_holidays_public/i18n/pt_BR.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_public_holidays +# * hr_holidays_public # # Translators: # OCA Transbot , 2016 @@ -18,8 +18,8 @@ msgstr "" "Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -30,156 +30,156 @@ msgid "" " \"Create\"." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_year msgid "Calendar Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Cancel" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id msgid "Country" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +#. 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_holidays_public_next_year_wizard_create_uid msgid "Created by" msgstr "Criado por" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +#. 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_holidays_public_next_year_wizard_create_date msgid "Created on" msgstr "Criado em" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_holidays_public_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_date msgid "Date" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable msgid "Date may change" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " "being assigned to" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +#. 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_holidays_public_next_year_wizard_display_name msgid "Display Name" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +#. 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_holidays_public_next_year_wizard_id msgid "ID" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +#. 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_holidays_public_next_year_wizard___last_update msgid "Last Modified on" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_uid msgid "Last Updated by" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_date msgid "Last Updated on" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +#. 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_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " "Holidays manually." msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public -#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +#. 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_hr_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line msgid "Public Holidays Lines" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +#. 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_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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 " @@ -187,13 +187,13 @@ msgid "" "from 2012 and 2015, only the templates from 2015 will be taken into account." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids msgid "Templates" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -202,8 +202,8 @@ msgid "" " replicate the 2010 Italian holidays to 2012.\"" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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.
\n" @@ -214,40 +214,40 @@ msgid "" " account)." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year msgid "Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country" " states." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/ro.po b/hr_holidays_public/i18n/ro.po index 1cb44add..93b3e248 100644 --- a/hr_holidays_public/i18n/ro.po +++ b/hr_holidays_public/i18n/ro.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_public_holidays +# * hr_holidays_public # # Translators: # OCA Transbot , 2016 @@ -18,8 +18,8 @@ msgstr "" "Language: ro\n" "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -30,156 +30,156 @@ msgid "" " \"Create\"." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_year msgid "Calendar Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Cancel" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id msgid "Country" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +#. 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_holidays_public_next_year_wizard_create_uid msgid "Created by" msgstr "Creeat de către" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +#. 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_holidays_public_next_year_wizard_create_date msgid "Created on" msgstr "Creeat în" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_holidays_public_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_date msgid "Date" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable msgid "Date may change" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " "being assigned to" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +#. 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_holidays_public_next_year_wizard_display_name msgid "Display Name" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +#. 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_holidays_public_next_year_wizard_id msgid "ID" msgstr "ID" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +#. 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_holidays_public_next_year_wizard___last_update msgid "Last Modified on" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_uid msgid "Last Updated by" msgstr "Ultima actualizare de către" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_date msgid "Last Updated on" msgstr "Ultima actualizare în" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +#. 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_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " "Holidays manually." msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public -#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +#. 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_hr_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_public_line msgid "Public Holidays Lines" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +#. 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_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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 " @@ -187,13 +187,13 @@ msgid "" "from 2012 and 2015, only the templates from 2015 will be taken into account." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids msgid "Templates" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -202,8 +202,8 @@ msgid "" " replicate the 2010 Italian holidays to 2012.\"" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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.
\n" @@ -214,40 +214,40 @@ msgid "" " account)." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year msgid "Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country" " states." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/sl.po b/hr_holidays_public/i18n/sl.po index a300b869..8a1da816 100644 --- a/hr_holidays_public/i18n/sl.po +++ b/hr_holidays_public/i18n/sl.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_public_holidays +# * hr_holidays_public # # Translators: # OCA Transbot , 2016 @@ -18,8 +18,8 @@ msgstr "" "Language: sl\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_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -30,156 +30,156 @@ msgid "" " \"Create\"." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_year_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_year msgid "Calendar Year" msgstr "Koledarsko leto" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Cancel" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_country_id +#. 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_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.action_create_next_year_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_create_next_year_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_uid +#. 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_holidays_public_next_year_wizard_create_uid msgid "Created by" msgstr "Ustvaril" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_create_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_create_date +#. 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_holidays_public_next_year_wizard_create_date msgid "Created on" msgstr "Ustvarjeno" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_public_holidays_next_year_wizard +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_holidays_public_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_date +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_variable +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable msgid "Date may change" msgstr "Datum se lahko spremeni" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:45 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " "being assigned to" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_display_name +#. 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_holidays_public_next_year_wizard_display_name msgid "Display Name" msgstr "Prikazni naziv" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_ids +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_id -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_id +#. 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_holidays_public_next_year_wizard_id msgid "ID" msgstr "ID" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line___last_update -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard___last_update +#. 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_holidays_public_next_year_wizard___last_update msgid "Last Modified on" msgstr "Zadnjič spremenjeno" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_uid -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_uid +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_uid +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_uid msgid "Last Updated by" msgstr "Zadnjič posodobil" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_write_date -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_write_date +#. module: hr_holidays_public +#: 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_hr_holidays_public_write_date +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_write_date msgid "Last Updated on" msgstr "Zadnjič posodobljeno" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_display_name -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_name +#. 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_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:41 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " "Holidays manually." msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" -#. module: hr_public_holidays -#: model:ir.actions.act_window,name:hr_public_holidays.open_public_holidays_view -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public -#: model:ir.ui.menu,name:hr_public_holidays.menu_hr_public_holidays -#: model:ir.ui.menu,name:hr_public_holidays.menu_public_holidays_view -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_form -#: model:ir.ui.view,arch_db:hr_public_holidays.view_public_holidays_tree +#. 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_hr_holidays_public +#: model:ir.ui.menu,name:hr_holidays_public.menu_holidays_public_view +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Javni prazniki" -#. module: hr_public_holidays -#: model:ir.model,name:hr_public_holidays.model_hr_holidays_public_line +#. 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_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_hr_holidays_public_line_state_ids +#. 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_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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 " @@ -187,13 +187,13 @@ msgid "" "from 2012 and 2015, only the templates from 2015 will be taken into account." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_template_ids +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids msgid "Templates" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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" @@ -202,8 +202,8 @@ msgid "" " replicate the 2010 Italian holidays to 2012.\"" msgstr "" -#. module: hr_public_holidays -#: model:ir.ui.view,arch_db:hr_public_holidays.public_holidays_next_year_wizard_view +#. module: hr_holidays_public +#: model: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.
\n" @@ -214,40 +214,40 @@ msgid "" " account)." msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,field_description:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year msgid "Year" msgstr "" -#. module: hr_public_holidays -#: model:ir.model.fields,help:hr_public_holidays.field_public_holidays_next_year_wizard_year +#. module: hr_holidays_public +#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_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_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:57 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country" " states." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays_line.py:64 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/models/hr_public_holidays.py:53 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" -#. module: hr_public_holidays -#: code:addons/hr_public_holidays/wizards/public_holidays_next_year_wizard.py:79 +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/models/__init__.py b/hr_holidays_public/models/__init__.py index d8ea355f..ffecfb84 100644 --- a/hr_holidays_public/models/__init__.py +++ b/hr_holidays_public/models/__init__.py @@ -1,6 +1,6 @@ from . import hr_employee from . import hr_holidays from . import hr_holidays_status -from . import hr_public_holidays -from . import hr_public_holidays_line +from . import hr_holidays_public +from . import hr_holidays_public_line from . import resource diff --git a/hr_holidays_public/models/hr_employee.py b/hr_holidays_public/models/hr_employee.py index 91cefbed..486d7cd1 100644 --- a/hr_holidays_public/models/hr_employee.py +++ b/hr_holidays_public/models/hr_employee.py @@ -12,7 +12,7 @@ class HrEmployee(models.Model): _inherit = 'hr.employee' - def _get_public_holidays_leaves(self, start_dt, end_dt): + def _get_holidays_public_leaves(self, start_dt, end_dt): """Get the public holidays for the current employee and given dates in the format expected by resource methods. :param: start_dt: Initial datetime. @@ -32,7 +32,10 @@ def _get_public_holidays_leaves(self, start_dt, end_dt): datetime.datetime.combine(date, datetime.time.max))) return leaves - def _get_work_days_data(self, from_datetime, to_datetime, calendar=None): + def get_work_days_data(self, from_datetime, to_datetime, calendar=None): + res = super(HrEmployee, self).get_work_days_data( + from_datetime=from_datetime, to_datetime=to_datetime, + calendar=calendar) self.ensure_one() days_count = 0.0 total_work_time = timedelta() @@ -46,10 +49,11 @@ def _get_work_days_data(self, from_datetime, to_datetime, calendar=None): (interval[1] - interval[0] for interval in day_intervals), timedelta()) total_work_time += work_time - days_count += (work_time.total_seconds() / 3600) / ( - theoric_hours or work_time.total_seconds() / 3600) - return { - 'days': float_utils.float_round(days_count, precision_digits=3), - 'hours': float_utils.float_round( - total_work_time.total_seconds() / 3600, precision_digits=3), - } + if theoric_hours: + days_count += work_time.total_seconds() / 3600 / theoric_hours + else: + days_count += 1.0 + res['days'] = float_utils.float_round(days_count, precision_digits=3) + res['hours'] = float_utils.float_round( + total_work_time.total_seconds() / 3600, precision_digits=3) + return res diff --git a/hr_holidays_public/models/hr_holidays.py b/hr_holidays_public/models/hr_holidays.py index 29c7afbb..dddd8ab5 100644 --- a/hr_holidays_public/models/hr_holidays.py +++ b/hr_holidays_public/models/hr_holidays.py @@ -41,8 +41,8 @@ def _compute_number_of_hours(self): holiday.number_of_hours = holiday.number_of_hours_temp @api.onchange('employee_id') - def _onchange_employee(self): - super(HrHolidays, self)._onchange_employee() + def _onchange_employee_id(self): + super(HrHolidays, self)._onchange_employee_id() self._onchange_data_hr_holidays_compute_days() @api.onchange('date_from') @@ -96,8 +96,8 @@ def _onchange_data_hr_holidays_compute_days(self): include_rest_days=not self.holiday_status_id.exclude_rest_days, compute_full_days=self.holiday_status_id.compute_full_days, ) - datas = employee._get_work_days_data(from_datetime=date_from, - to_datetime=date_to) + datas = employee.get_work_days_data(from_datetime=date_from, + to_datetime=date_to) if datas: self.number_of_days_temp = datas['days'] self.number_of_hours_temp = datas['hours'] diff --git a/hr_holidays_public/models/hr_public_holidays.py b/hr_holidays_public/models/hr_holidays_public.py similarity index 99% rename from hr_holidays_public/models/hr_public_holidays.py rename to hr_holidays_public/models/hr_holidays_public.py index f401dec8..ad773631 100644 --- a/hr_holidays_public/models/hr_public_holidays.py +++ b/hr_holidays_public/models/hr_holidays_public.py @@ -7,7 +7,7 @@ from odoo.exceptions import Warning as UserError -class HrPublicHolidays(models.Model): +class HrHolidaysPublic(models.Model): _name = 'hr.holidays.public' _description = 'Public Holidays' _rec_name = 'year' diff --git a/hr_holidays_public/models/hr_public_holidays_line.py b/hr_holidays_public/models/hr_holidays_public_line.py similarity index 98% rename from hr_holidays_public/models/hr_public_holidays_line.py rename to hr_holidays_public/models/hr_holidays_public_line.py index 1726462e..fab94287 100644 --- a/hr_holidays_public/models/hr_public_holidays_line.py +++ b/hr_holidays_public/models/hr_holidays_public_line.py @@ -6,7 +6,7 @@ from odoo.exceptions import Warning as UserError -class HrPublicHolidaysLine(models.Model): +class HrHolidaysPublicLine(models.Model): _name = 'hr.holidays.public.line' _description = 'Public Holidays Lines' _order = "date, name desc" diff --git a/hr_holidays_public/models/hr_holidays_status.py b/hr_holidays_public/models/hr_holidays_status.py index 4a1ce557..3a7e4929 100644 --- a/hr_holidays_public/models/hr_holidays_status.py +++ b/hr_holidays_public/models/hr_holidays_status.py @@ -23,6 +23,6 @@ class HrHolidaysStatus(models.Model): compute_full_days = fields.Boolean( string="Compute Full Days", default=True, - help="If enabled, the number of days computed will be always for the " + help="If enabled, the number of computed days will always be for the " "full days in the interval", ) diff --git a/hr_holidays_public/models/resource.py b/hr_holidays_public/models/resource.py index 0148219a..4eac2a56 100644 --- a/hr_holidays_public/models/resource.py +++ b/hr_holidays_public/models/resource.py @@ -31,13 +31,14 @@ def _get_leave_intervals(self, resource_id=None, if self.env.context.get('employee') and \ self.env.context.get('exclude_public_holidays'): employee = self.env.context.get('employee')[0] - res += employee._get_public_holidays_leaves( + res += employee._get_holidays_public_leaves( start_datetime, end_datetime) return res def _iter_work_intervals(self, start_dt, end_dt, resource_id, compute_leaves=True): - """ Lists the current resource's work intervals between the two provided + """ This overwrite Odoo method. + Lists the current resource's work intervals between the two provided datetimes (inclusive) expressed in UTC, for each worked day. """ self.ensure_one() if not end_dt: diff --git a/hr_holidays_public/tests/__init__.py b/hr_holidays_public/tests/__init__.py index 80c10d1e..8b16ef2e 100644 --- a/hr_holidays_public/tests/__init__.py +++ b/hr_holidays_public/tests/__init__.py @@ -1,2 +1,2 @@ from . import test_holidays_calculation -from . import test_public_holidays +from . import test_holidays_public diff --git a/hr_holidays_public/tests/test_holidays_calculation.py b/hr_holidays_public/tests/test_holidays_calculation.py index 7aaeca3d..5c8acdde 100644 --- a/hr_holidays_public/tests/test_holidays_calculation.py +++ b/hr_holidays_public/tests/test_holidays_calculation.py @@ -1,10 +1,8 @@ -# -*- coding: utf-8 -*- # Copyright 2015 iDT LABS (http://www.@idtlabs.sl) # Copyright 2017 Tecnativa - Pedro M. Baeza # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo.tests import common -from odoo.tools import float_compare class TestHolidaysComputeDaysBase(common.SavepointCase): @@ -141,25 +139,13 @@ def test_number_days_not_excluding(self): 'employee_id': self.employee_1.id, }) holidays._onchange_data_hr_holidays_compute_days() - self.assertEqual(holidays.number_of_days_temp, 7) + self.assertEqual(holidays.number_of_days_temp, 7.0) self.assertEqual( float_compare(holidays.number_of_hours_temp, 88, precision_rounding=3), 0) - # Calendar is required field in resource, so can't test this -# def test_number_days_without_calendar(self): -# self.employee_1.resource_calendar_id = False -# holidays = self.HrHolidays.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, -# }) -# holidays._onchange_data_hr_holidays_compute_days() -# self.assertEqual(holidays.number_of_days_temp, 0) - def test_fractional_number_days(self): holidays = self.HrHolidays.new({ 'date_from': '1946-12-23 00:00:00', diff --git a/hr_holidays_public/tests/test_public_holidays.py b/hr_holidays_public/tests/test_holidays_public.py similarity index 98% rename from hr_holidays_public/tests/test_public_holidays.py rename to hr_holidays_public/tests/test_holidays_public.py index 29169e9a..7ae58489 100644 --- a/hr_holidays_public/tests/test_public_holidays.py +++ b/hr_holidays_public/tests/test_holidays_public.py @@ -3,14 +3,14 @@ from odoo.exceptions import ValidationError from odoo.exceptions import Warning as UserError -from odoo.tests import common +from odoo.tests.common import TransactionCase from odoo.tools import test_reports -class TestPublicHolidays(common.TransactionCase): +class TestHolidaysPublic(TransactionCase): def setUp(self): - super(TestPublicHolidays, self).setUp() + super(TestHolidaysPublic, self).setUp() self.holiday_model = self.env["hr.holidays.public"] self.holiday_model_line = self.env["hr.holidays.public.line"] self.employee_model = self.env['hr.employee'] diff --git a/hr_holidays_public/views/hr_public_holidays_view.xml b/hr_holidays_public/views/hr_holidays_public_view.xml similarity index 87% rename from hr_holidays_public/views/hr_public_holidays_view.xml rename to hr_holidays_public/views/hr_holidays_public_view.xml index 16e43736..6809217d 100644 --- a/hr_holidays_public/views/hr_public_holidays_view.xml +++ b/hr_holidays_public/views/hr_holidays_public_view.xml @@ -1,7 +1,7 @@ - + hr.holidays.public.tree hr.holidays.public @@ -12,7 +12,7 @@ - + hr.holidays.public.form hr.holidays.public @@ -38,7 +38,7 @@ - + Public Holidays hr.holidays.public tree,form @@ -49,8 +49,8 @@ parent="hr_holidays.menu_hr_holidays_root" sequence="20"/> - diff --git a/hr_holidays_public/views/hr_holidays_views.xml b/hr_holidays_public/views/hr_holidays_views.xml index 6b7bd4ff..5369c567 100644 --- a/hr_holidays_public/views/hr_holidays_views.xml +++ b/hr_holidays_public/views/hr_holidays_views.xml @@ -10,97 +10,102 @@ - hours + hours - - hr.holidays.graph - hr.holidays - - - - - - - + + hr.holidays.graph + hr.holidays + + + + + + + - - hr.holidays.allocation.tree - hr.holidays - - - - - - - + + hr.holidays.allocation.tree + hr.holidays + + + + + + + - - hr.holidays.allocation.tree.customize - hr.holidays - - - - - - - + + hr.holidays.allocation.tree.customize + hr.holidays + + + + + + + - - hr.holidays.report_tree - hr.holidays - - - - - + + hr.holidays.report_tree + hr.holidays + + + + - + + - - hr.holidays.kanban - hr.holidays - - - - - -
-
- - - - - - - -
hours
days
-
-
+ + hr.holidays.kanban + hr.holidays + + + + - +
+
+ + + + + + + +
+ hours +
+ days +
+
+
+
+
- - hr.holidays.report_employee_tree - hr.holidays - - - - - + + hr.holidays.report_employee_tree + hr.holidays + + + + - + + - - hr.holidays.tree - hr.holidays - - - - - + + hr.holidays.tree + hr.holidays + + + + - + +
diff --git a/hr_holidays_public/wizards/__init__.py b/hr_holidays_public/wizards/__init__.py index 1f8315da..31a61a1b 100644 --- a/hr_holidays_public/wizards/__init__.py +++ b/hr_holidays_public/wizards/__init__.py @@ -1 +1 @@ -from . import public_holidays_next_year_wizard +from . import holidays_public_next_year_wizard diff --git a/hr_holidays_public/wizards/public_holidays_next_year_wizard.py b/hr_holidays_public/wizards/holidays_public_next_year_wizard.py similarity index 98% rename from hr_holidays_public/wizards/public_holidays_next_year_wizard.py rename to hr_holidays_public/wizards/holidays_public_next_year_wizard.py index 4a007e5e..a2ce23ff 100644 --- a/hr_holidays_public/wizards/public_holidays_next_year_wizard.py +++ b/hr_holidays_public/wizards/holidays_public_next_year_wizard.py @@ -9,7 +9,7 @@ _logger = logging.getLogger(__name__) -class PublicHolidaysNextYearWizard(models.TransientModel): +class HolidaysPublicNextYearWizard(models.TransientModel): _name = 'public.holidays.next.year.wizard' _description = 'Creates public holidays from existing ones' diff --git a/hr_holidays_public/wizards/public_holidays_next_year_wizard.xml b/hr_holidays_public/wizards/holidays_public_next_year_wizard.xml similarity index 98% rename from hr_holidays_public/wizards/public_holidays_next_year_wizard.xml rename to hr_holidays_public/wizards/holidays_public_next_year_wizard.xml index 498dbab6..e4e2b8c4 100644 --- a/hr_holidays_public/wizards/public_holidays_next_year_wizard.xml +++ b/hr_holidays_public/wizards/holidays_public_next_year_wizard.xml @@ -4,7 +4,7 @@ - + Create Next Year Public Holidays public.holidays.next.year.wizard From a24e14dfb3d3eb1f849bffa157d8a7308feaf3a0 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sun, 2 Sep 2018 20:07:40 +0200 Subject: [PATCH 03/76] [FIX+IMP] hr_holidays_public: Strip hours part + complete migration Hours part will be in module hr_holidays_hour. --- hr_holidays_public/README.rst | 80 ++-- hr_holidays_public/__init__.py | 1 - hr_holidays_public/__manifest__.py | 6 +- hr_holidays_public/models/hr_employee.py | 7 +- hr_holidays_public/models/hr_holidays.py | 31 +- .../models/hr_holidays_public.py | 4 +- .../models/hr_holidays_public_line.py | 2 +- hr_holidays_public/readme/CONFIGURE.rst | 5 + hr_holidays_public/readme/CONTRIBUTORS.rst | 10 + hr_holidays_public/readme/DESCRIPTION.rst | 4 + hr_holidays_public/readme/USAGE.rst | 2 + hr_holidays_public/report/__init__.py | 2 - .../report/holidays_summary_report.py | 83 ---- .../report/hr_holidays_leaves_report.py | 35 -- .../hr_holidays_leaves_report_views.xml | 26 - .../report/hr_holidays_templates.xml | 10 - .../report/hr_holidays_views.xml | 25 - .../static/description/index.html | 449 ++++++++++++++++++ .../tests/test_holidays_calculation.py | 20 +- .../tests/test_holidays_public.py | 27 +- .../views/hr_holidays_public_view.xml | 2 +- .../views/hr_holidays_views.xml | 111 ----- .../holidays_public_next_year_wizard.py | 2 +- .../holidays_public_next_year_wizard.xml | 24 +- 24 files changed, 552 insertions(+), 416 deletions(-) create mode 100644 hr_holidays_public/readme/CONFIGURE.rst create mode 100644 hr_holidays_public/readme/CONTRIBUTORS.rst create mode 100644 hr_holidays_public/readme/DESCRIPTION.rst create mode 100644 hr_holidays_public/readme/USAGE.rst delete mode 100644 hr_holidays_public/report/__init__.py delete mode 100644 hr_holidays_public/report/holidays_summary_report.py delete mode 100644 hr_holidays_public/report/hr_holidays_leaves_report.py delete mode 100644 hr_holidays_public/report/hr_holidays_leaves_report_views.xml delete mode 100644 hr_holidays_public/report/hr_holidays_templates.xml delete mode 100644 hr_holidays_public/report/hr_holidays_views.xml create mode 100644 hr_holidays_public/static/description/index.html delete mode 100644 hr_holidays_public/views/hr_holidays_views.xml diff --git a/hr_holidays_public/README.rst b/hr_holidays_public/README.rst index 7b72a40a..a14c0885 100644 --- a/hr_holidays_public/README.rst +++ b/hr_holidays_public/README.rst @@ -1,26 +1,39 @@ -.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png - :target: https://www.gnu.org/licenses/agpl - :alt: License: AGPL-3 - ================== -HR Public Holidays +HR Holidays Public ================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/licence-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-lightgray.png?logo=github + :target: https://github.com/OCA/hr/tree/11.0/hr_holidays_public + :alt: OCA/hr +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/hr-11-0/hr-11-0-hr_holidays_public + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/116/11.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This module is a technical module to handle public holidays. The calculation of each leave can exclude rest days or public holiday. The calculation of each leave includes the number of hours taken from employee calendar attendances -Installation -============ - -To install this module, you need to: +**Table of contents** -#. Clone the branch 11.0 of the repository https://github.com/OCA/hr -#. Add the path to this repository in your configuration (addons-path) -#. Update the module list -#. Search for "Public Holidays" in your addons -#. Install the module +.. contents:: + :local: Configuration ============= @@ -37,29 +50,27 @@ Usage Go to the menu *Leaves > Public Holidays > Public Holidays* and create your public holidays. -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/116/11.0 - Bug Tracker =========== -Bugs are tracked on `GitHub Issues -`_. In case of trouble, please -check there if your issue has already been reported. If you spotted it first, -help us smashing it by providing a detailed and welcomed feedback. +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= -Images ------- - -* Odoo Community Association: `Icon `_. +Authors +~~~~~~~ +* Michael Telahun Makonnen +* Tecnativa Contributors ------------- +~~~~~~~~~~~~ * Michael Telahun Makonnen * Fekete Mihai @@ -68,18 +79,23 @@ Contributors * Salton Massally (iDT Labs) * Ivan Yelizariev * Bassirou Ndaw +* `Tecnativa `__: -Maintainer ----------- + * Pedro M. Baeza + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - 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. -To contribute to this module, please visit https://odoo-community.org. +This module is part of the `OCA/hr `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/hr_holidays_public/__init__.py b/hr_holidays_public/__init__.py index cf6083cf..aee8895e 100644 --- a/hr_holidays_public/__init__.py +++ b/hr_holidays_public/__init__.py @@ -1,3 +1,2 @@ from . import models -from . import report from . import wizards diff --git a/hr_holidays_public/__manifest__.py b/hr_holidays_public/__manifest__.py index 43a9546d..ed8c9775 100644 --- a/hr_holidays_public/__manifest__.py +++ b/hr_holidays_public/__manifest__.py @@ -7,6 +7,8 @@ 'license': 'AGPL-3', 'category': 'Human Resources', 'author': "Michael Telahun Makonnen, " + "Tecnativa, " + "Fekete Mihai (Forest and Biomass Services Romania)," "Odoo Community Association (OCA)", 'summary': "Manage Public Holidays", 'website': 'https://github.com/OCA/hr', @@ -17,10 +19,6 @@ 'security/ir.model.access.csv', 'views/hr_holidays_public_view.xml', 'views/hr_holidays_status_views.xml', - 'report/hr_holidays_leaves_report_views.xml', - 'report/hr_holidays_templates.xml', - 'report/hr_holidays_views.xml', - 'views/hr_holidays_views.xml', 'wizards/holidays_public_next_year_wizard.xml', ], 'installable': True, diff --git a/hr_holidays_public/models/hr_employee.py b/hr_holidays_public/models/hr_employee.py index 486d7cd1..594b88f4 100644 --- a/hr_holidays_public/models/hr_employee.py +++ b/hr_holidays_public/models/hr_employee.py @@ -35,10 +35,10 @@ def _get_holidays_public_leaves(self, start_dt, end_dt): def get_work_days_data(self, from_datetime, to_datetime, calendar=None): res = super(HrEmployee, self).get_work_days_data( from_datetime=from_datetime, to_datetime=to_datetime, - calendar=calendar) + calendar=calendar, + ) self.ensure_one() days_count = 0.0 - total_work_time = timedelta() calendar = calendar or self.resource_calendar_id for day_intervals in calendar._iter_work_intervals( from_datetime, to_datetime, self.resource_id.id, @@ -48,12 +48,9 @@ def get_work_days_data(self, from_datetime, to_datetime, calendar=None): work_time = sum( (interval[1] - interval[0] for interval in day_intervals), timedelta()) - total_work_time += work_time if theoric_hours: days_count += work_time.total_seconds() / 3600 / theoric_hours else: days_count += 1.0 res['days'] = float_utils.float_round(days_count, precision_digits=3) - res['hours'] = float_utils.float_round( - total_work_time.total_seconds() / 3600, precision_digits=3) return res diff --git a/hr_holidays_public/models/hr_holidays.py b/hr_holidays_public/models/hr_holidays.py index dddd8ab5..0f0b0b0f 100644 --- a/hr_holidays_public/models/hr_holidays.py +++ b/hr_holidays_public/models/hr_holidays.py @@ -18,28 +18,6 @@ def to_naive_user_tz(date_time, record): class HrHolidays(models.Model): _inherit = 'hr.holidays' - show_full_days = fields.Boolean( - string="Show Full Days", - related="holiday_status_id.compute_full_days") - number_of_hours_temp = fields.Float( - 'Allocated Hours', copy=False, readonly=True, - states={'draft': [('readonly', False)], - 'confirm': [('readonly', False)]}, - help='Number of hours of the leave request according ' - 'to your working schedule.') - number_of_hours = fields.Float( - 'Number of Hours', compute='_compute_number_of_hours', - store=True, track_visibility='onchange') - - @api.multi - @api.depends('number_of_hours_temp', 'type') - def _compute_number_of_hours(self): - for holiday in self: - if holiday.type == 'remove': - holiday.number_of_hours = -holiday.number_of_hours_temp - else: - holiday.number_of_hours = holiday.number_of_hours_temp - @api.onchange('employee_id') def _onchange_employee_id(self): super(HrHolidays, self)._onchange_employee_id() @@ -47,9 +25,9 @@ def _onchange_employee_id(self): @api.onchange('date_from') def _onchange_date_from(self): - if not self.show_full_days: + if not self.holiday_status_id.compute_full_days: super(HrHolidays, self)._onchange_date_from() - if self.show_full_days and self.date_from: + if self.holiday_status_id.compute_full_days and self.date_from: tz_name = self.employee_id.user_id.tz or self.env.user.tz start_dt = to_naive_user_tz( fields.Datetime.from_string(self.date_from), self) @@ -71,7 +49,7 @@ def _onchange_date_from(self): @api.onchange('date_to') def _onchange_date_to(self): super(HrHolidays, self)._onchange_date_to() - if self.show_full_days and self.date_to: + if self.holiday_status_id.compute_full_days and self.date_to: tz_name = self.employee_id.user_id.tz or self.env.user.tz end_dt = to_naive_user_tz( fields.Datetime.from_string(self.date_to), self) @@ -82,7 +60,7 @@ def _onchange_date_to(self): self.date_to = fields.Datetime.to_string(dt) self._onchange_data_hr_holidays_compute_days() - @api.onchange('holiday_status_id') + @api.onchange('employee_id', 'holiday_status_id') def _onchange_data_hr_holidays_compute_days(self): if self.date_to and self.date_from and self.date_from <= self.date_to: date_from = fields.Datetime.from_string(self.date_from) @@ -100,4 +78,3 @@ def _onchange_data_hr_holidays_compute_days(self): to_datetime=date_to) if datas: self.number_of_days_temp = datas['days'] - self.number_of_hours_temp = datas['hours'] diff --git a/hr_holidays_public/models/hr_holidays_public.py b/hr_holidays_public/models/hr_holidays_public.py index ad773631..235551bb 100644 --- a/hr_holidays_public/models/hr_holidays_public.py +++ b/hr_holidays_public/models/hr_holidays_public.py @@ -4,7 +4,7 @@ from datetime import date from odoo import api, fields, models, _ -from odoo.exceptions import Warning as UserError +from odoo.exceptions import UserError class HrHolidaysPublic(models.Model): @@ -17,7 +17,7 @@ class HrHolidaysPublic(models.Model): "Name", compute="_compute_display_name", readonly=True, - store=True + store=True, ) year = fields.Integer( "Calendar Year", diff --git a/hr_holidays_public/models/hr_holidays_public_line.py b/hr_holidays_public/models/hr_holidays_public_line.py index fab94287..c4961752 100644 --- a/hr_holidays_public/models/hr_holidays_public_line.py +++ b/hr_holidays_public/models/hr_holidays_public_line.py @@ -3,7 +3,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import api, fields, models, _ -from odoo.exceptions import Warning as UserError +from odoo.exceptions import UserError class HrHolidaysPublicLine(models.Model): diff --git a/hr_holidays_public/readme/CONFIGURE.rst b/hr_holidays_public/readme/CONFIGURE.rst new file mode 100644 index 00000000..41792c42 --- /dev/null +++ b/hr_holidays_public/readme/CONFIGURE.rst @@ -0,0 +1,5 @@ +Go to *Leaves -> Configuration* and open a Leave Type + +* Check "Exclude Rest Days" to exclude resource calendar rest days +* Check "Exclude Public Holidays" to exclude public holidays +* Uncheck "Compute Full Days" to allow fractional days. diff --git a/hr_holidays_public/readme/CONTRIBUTORS.rst b/hr_holidays_public/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..97933f8d --- /dev/null +++ b/hr_holidays_public/readme/CONTRIBUTORS.rst @@ -0,0 +1,10 @@ +* Michael Telahun Makonnen +* Fekete Mihai +* Nikolina Todorova +* Alexis de Lattre +* Salton Massally (iDT Labs) +* Ivan Yelizariev +* Bassirou Ndaw +* `Tecnativa `__: + + * Pedro M. Baeza diff --git a/hr_holidays_public/readme/DESCRIPTION.rst b/hr_holidays_public/readme/DESCRIPTION.rst new file mode 100644 index 00000000..d21e6555 --- /dev/null +++ b/hr_holidays_public/readme/DESCRIPTION.rst @@ -0,0 +1,4 @@ +This module is a technical module to handle public holidays. +The calculation of each leave can exclude rest days or public holiday. +The calculation of each leave includes the number of hours taken from +employee calendar attendances diff --git a/hr_holidays_public/readme/USAGE.rst b/hr_holidays_public/readme/USAGE.rst new file mode 100644 index 00000000..8773c822 --- /dev/null +++ b/hr_holidays_public/readme/USAGE.rst @@ -0,0 +1,2 @@ +Go to the menu *Leaves > Public Holidays > Public Holidays* and create your +public holidays. diff --git a/hr_holidays_public/report/__init__.py b/hr_holidays_public/report/__init__.py deleted file mode 100644 index 202bd314..00000000 --- a/hr_holidays_public/report/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -from . import holidays_summary_report -from . import hr_holidays_leaves_report diff --git a/hr_holidays_public/report/holidays_summary_report.py b/hr_holidays_public/report/holidays_summary_report.py deleted file mode 100644 index 38924a68..00000000 --- a/hr_holidays_public/report/holidays_summary_report.py +++ /dev/null @@ -1,83 +0,0 @@ -# © 2018 Fekete Mihai -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from datetime import timedelta -from dateutil.relativedelta import relativedelta -from odoo import fields, models - - -class HrHolidaySummaryReport(models.AbstractModel): - _inherit = 'report.hr_holidays.report_holidayssummary' - - def _get_leaves_summary(self, start_date, empid, holiday_type): - res = [] - count = 0 - count_hours = 0 - start_date = fields.Date.from_string(start_date) - end_date = start_date + relativedelta(days=59) - for index in range(0, 60): - current = start_date + timedelta(index) - res.append({'day': current.day, 'color': ''}) - if self._date_is_day_off(current): - res[index]['color'] = '#ababab' - # count and get leave summary details. - if holiday_type == 'both': - holiday_type = ['confirm', 'validate'] - elif holiday_type == 'Confirmed': - holiday_type = ['confirm'] - else: - holiday_type = ['validate'] - holidays = self.env['hr.holidays'].search([ - ('employee_id', '=', empid), ('state', 'in', holiday_type), - ('type', '=', 'remove'), ('date_from', '<=', str(end_date)), - ('date_to', '>=', str(start_date)) - ]) - for holiday in holidays: - # Convert date to user timezone, otherwise the report will not be - # consistent with the value displayed in the interface. - date_from = fields.Datetime.from_string(holiday.date_from) - date_from = fields.Datetime.context_timestamp( - holiday, date_from).date() - date_to = fields.Datetime.from_string(holiday.date_to) - date_to = fields.Datetime.context_timestamp( - holiday, date_to).date() - for index in range(0, ((date_to - date_from).days + 1)): - if date_from >= start_date and date_from <= end_date: - res[(date_from-start_date).days]['color'] = \ - holiday.holiday_status_id.color_name - date_from += timedelta(1) - count += abs(holiday.number_of_days) - count_hours += abs(holiday.number_of_hours) - self.sum = count - self.sum_hours = count_hours - return res - - def _get_data_from_report(self, data): - res = [] - employees = self.env['hr.employee'] - if 'depts' in data: - for department in self.env['hr.department'].browse(data['depts']): - res.append({'dept': department.name, - 'data': [], - 'color': self._get_day(data['date_from'])}) - for emp in employees.search([('department_id', - '=', - department.id)]): - res[len(res)-1]['data'].append({ - 'emp': emp.name, - 'display': self._get_leaves_summary( - data['date_from'], emp.id, data['holiday_type']), - 'sum': self.sum, - 'sum_hours': self.sum_hours - }) - elif 'emp' in data: - res.append({'data': []}) - for emp in employees.browse(data['emp']): - res[0]['data'].append({ - 'emp': emp.name, - 'display': self._get_leaves_summary( - data['date_from'], emp.id, data['holiday_type']), - 'sum': self.sum, - 'sum_hours': self.sum_hours - }) - return res diff --git a/hr_holidays_public/report/hr_holidays_leaves_report.py b/hr_holidays_public/report/hr_holidays_leaves_report.py deleted file mode 100644 index b96e0c36..00000000 --- a/hr_holidays_public/report/hr_holidays_leaves_report.py +++ /dev/null @@ -1,35 +0,0 @@ -# © 2018 Fekete Mihai -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from odoo import fields, models, tools - - -class HrHolidaysRemainingLeavesUser(models.Model): - _inherit = "hr.holidays.remaining.leaves.user" - - no_of_leaves_hours = fields.Integer( - 'Remaining leaves hours', readonly=True) - - def init(self): - tools.drop_view_if_exists(self._cr, - 'hr_holidays_remaining_leaves_user') - self._cr.execute(""" - CREATE or REPLACE view hr_holidays_remaining_leaves_user as ( - SELECT - min(hrs.id) as id, - rr.name as name, - sum(hrs.number_of_days) as no_of_leaves, - sum(hrs.number_of_hours) as no_of_leaves_hours, - rr.user_id as user_id, - hhs.name as leave_type - FROM - hr_holidays as hrs, hr_employee as hre, - resource_resource as rr,hr_holidays_status as hhs - WHERE - hrs.employee_id = hre.id and - hre.resource_id = rr.id and - hhs.id = hrs.holiday_status_id - GROUP BY - rr.name,rr.user_id,hhs.name - ) - """) diff --git a/hr_holidays_public/report/hr_holidays_leaves_report_views.xml b/hr_holidays_public/report/hr_holidays_leaves_report_views.xml deleted file mode 100644 index b24be2b7..00000000 --- a/hr_holidays_public/report/hr_holidays_leaves_report_views.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - hr.holidays.remaining.leaves.user.tree - hr.holidays.remaining.leaves.user - - - - - - - - - - hr.holidays.remaining.leaves.user.graph - hr.holidays.remaining.leaves.user - - - - - - - - - diff --git a/hr_holidays_public/report/hr_holidays_templates.xml b/hr_holidays_public/report/hr_holidays_templates.xml deleted file mode 100644 index f94f6ae8..00000000 --- a/hr_holidays_public/report/hr_holidays_templates.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - diff --git a/hr_holidays_public/report/hr_holidays_views.xml b/hr_holidays_public/report/hr_holidays_views.xml deleted file mode 100644 index d0205b62..00000000 --- a/hr_holidays_public/report/hr_holidays_views.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - hr.holidays.report_pivot - hr.holidays - - - - - - - - - - hr.holidays.report_graph - hr.holidays - - - - - - - - - diff --git a/hr_holidays_public/static/description/index.html b/hr_holidays_public/static/description/index.html new file mode 100644 index 00000000..fc1de74d --- /dev/null +++ b/hr_holidays_public/static/description/index.html @@ -0,0 +1,449 @@ + + + + + + +HR Holidays Public + + + +
+

HR Holidays Public

+ + +

Beta License: AGPL-3 OCA/hr Translate me on Weblate Try me on Runbot

+

This module is a technical module to handle public holidays. +The calculation of each leave can exclude rest days or public holiday. +The calculation of each leave includes the number of hours taken from +employee calendar attendances

+

Table of contents

+ +
+

Configuration

+

Go to Leaves -> Configuration and open a Leave Type

+
    +
  • Check “Exclude Rest Days” to exclude resource calendar rest days
  • +
  • Check “Exclude Public Holidays” to exclude public holidays
  • +
  • Uncheck “Compute Full Days” to allow fractional days.
  • +
+
+
+

Usage

+

Go to the menu Leaves > Public Holidays > Public Holidays and create your +public holidays.

+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Michael Telahun Makonnen
  • +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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 project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/hr_holidays_public/tests/test_holidays_calculation.py b/hr_holidays_public/tests/test_holidays_calculation.py index 5c8acdde..3be74c3e 100644 --- a/hr_holidays_public/tests/test_holidays_calculation.py +++ b/hr_holidays_public/tests/test_holidays_calculation.py @@ -6,6 +6,9 @@ class TestHolidaysComputeDaysBase(common.SavepointCase): + at_install = False + post_install = True + @classmethod def setUpClass(cls): super(TestHolidaysComputeDaysBase, cls).setUpClass() @@ -117,8 +120,6 @@ def test_number_days_excluding_employee_1(self): }) holidays._onchange_data_hr_holidays_compute_days() self.assertEqual(holidays.number_of_days_temp, 4) - self.assertEqual(holidays.number_of_hours_temp, 32) - self.assertEqual(holidays.number_of_hours, 32) def _test_number_days_excluding_employee_2(self): holidays = self.HrHolidays.new({ @@ -129,7 +130,6 @@ def _test_number_days_excluding_employee_2(self): }) holidays._onchange_data_hr_holidays_compute_days() self.assertEqual(holidays.number_of_days_temp, 2) - self.assertEqual(holidays.number_of_hours_temp, 16) def test_number_days_not_excluding(self): holidays = self.HrHolidays.new({ @@ -140,11 +140,6 @@ def test_number_days_not_excluding(self): }) holidays._onchange_data_hr_holidays_compute_days() self.assertEqual(holidays.number_of_days_temp, 7.0) - self.assertEqual( - float_compare(holidays.number_of_hours_temp, - 88, - precision_rounding=3), - 0) def test_fractional_number_days(self): holidays = self.HrHolidays.new({ @@ -154,9 +149,6 @@ def test_fractional_number_days(self): 'employee_id': self.employee_1.id, }) holidays._onchange_data_hr_holidays_compute_days() - self.assertEqual( - float_compare(holidays.number_of_days_temp, - 0.563, - precision_rounding=3), - 0) - self.assertEqual(holidays.number_of_hours_temp, 4.0) + self.assertAlmostEqual( + holidays.number_of_days_temp, 0.5, 3, + ) diff --git a/hr_holidays_public/tests/test_holidays_public.py b/hr_holidays_public/tests/test_holidays_public.py index 7ae58489..a422f1a9 100644 --- a/hr_holidays_public/tests/test_holidays_public.py +++ b/hr_holidays_public/tests/test_holidays_public.py @@ -2,12 +2,13 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo.exceptions import ValidationError -from odoo.exceptions import Warning as UserError +from odoo.exceptions import UserError from odoo.tests.common import TransactionCase -from odoo.tools import test_reports class TestHolidaysPublic(TransactionCase): + at_install = False + post_install = True def setUp(self): super(TestHolidaysPublic, self).setUp() @@ -200,25 +201,3 @@ def test_february_29th(self): with self.assertRaises(UserError): wz_create_ph.create_public_holidays() - - def test_report_summary_report(self): - self.env['hr.holidays'].create({ - 'date_from': '1995-10-20', - 'date_to': '1995-10-21', - 'holiday_status_id': self.env['hr.holidays.status'].search( - [])[0].id, - 'employee_id': self.employee.id, - }) - data = {'date_from': '1995-10-01', - 'emp': self.env['hr.employee'].search([]).ids, - 'holiday_type': 'both'} - report = self.env['hr.holidays.summary.employee'].create(data) - datas = { - 'ids': [], - 'model': 'hr.employee', - 'form': data - } - test_reports.try_report(self.env.cr, self.env.uid, - 'hr_holidays.report_holidayssummary', - [report.id], data=datas, - report_type='qweb') diff --git a/hr_holidays_public/views/hr_holidays_public_view.xml b/hr_holidays_public/views/hr_holidays_public_view.xml index 6809217d..cd7490ba 100644 --- a/hr_holidays_public/views/hr_holidays_public_view.xml +++ b/hr_holidays_public/views/hr_holidays_public_view.xml @@ -6,7 +6,7 @@ hr.holidays.public - + diff --git a/hr_holidays_public/views/hr_holidays_views.xml b/hr_holidays_public/views/hr_holidays_views.xml deleted file mode 100644 index 5369c567..00000000 --- a/hr_holidays_public/views/hr_holidays_views.xml +++ /dev/null @@ -1,111 +0,0 @@ - - - - - Leave Request - Add full days - hr.holidays - - - - - - - hours - - - - - - hr.holidays.graph - hr.holidays - - - - - - - - - - hr.holidays.allocation.tree - hr.holidays - - - - - - - - - - hr.holidays.allocation.tree.customize - hr.holidays - - - - - - - - - - hr.holidays.report_tree - hr.holidays - - - - - - - - - - hr.holidays.kanban - hr.holidays - - - - - -
-
- - - - - - - -
- hours -
- days -
-
-
-
-
- - - hr.holidays.report_employee_tree - hr.holidays - - - - - - - - - - hr.holidays.tree - hr.holidays - - - - - - - -
diff --git a/hr_holidays_public/wizards/holidays_public_next_year_wizard.py b/hr_holidays_public/wizards/holidays_public_next_year_wizard.py index a2ce23ff..6ff28206 100644 --- a/hr_holidays_public/wizards/holidays_public_next_year_wizard.py +++ b/hr_holidays_public/wizards/holidays_public_next_year_wizard.py @@ -4,7 +4,7 @@ import logging from odoo import api, models, fields, _ -from odoo.exceptions import Warning as UserError +from odoo.exceptions import UserError _logger = logging.getLogger(__name__) diff --git a/hr_holidays_public/wizards/holidays_public_next_year_wizard.xml b/hr_holidays_public/wizards/holidays_public_next_year_wizard.xml index e4e2b8c4..7653b089 100644 --- a/hr_holidays_public/wizards/holidays_public_next_year_wizard.xml +++ b/hr_holidays_public/wizards/holidays_public_next_year_wizard.xml @@ -11,33 +11,33 @@
- Use this wizard to create public holidays based on the + Use this wizard to create public holidays based on the existing ones.
- Only the last templates of each country - will be taken into account (If you select templates + 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 + only the templates from 2015 will be taken into account).
- By default, the most recent public holidays - for each country are used as template to create + By default, the most recent public holidays + for each country are used as template to create public holidays for the year following the templates.

- Normally, you should not need to input anything in - optional fields and only need to click on the button + Normally, you should not need to input anything in + optional fields and only need to click on the button "Create".
- 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 + 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."
From 555e727c5e904a73544ca8dd6af67e33bcbfd970 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Mon, 3 Sep 2018 22:20:51 +0200 Subject: [PATCH 04/76] [IMP] hr_holidays_public: Leave only public holidays computation Reduce to the minimum the footprint of this module, adding only public holidays as leaves in a transparent way by other modules. --- hr_holidays_public/README.rst | 30 +++-- hr_holidays_public/models/__init__.py | 2 - hr_holidays_public/models/hr_employee.py | 56 -------- hr_holidays_public/models/hr_holidays.py | 89 +++---------- .../models/hr_holidays_public.py | 64 ++++++++- .../models/hr_holidays_public_line.py | 72 ---------- .../models/hr_holidays_status.py | 16 +-- hr_holidays_public/models/resource.py | 95 +++++-------- hr_holidays_public/readme/CONFIGURE.rst | 4 +- hr_holidays_public/readme/DESCRIPTION.rst | 6 +- hr_holidays_public/readme/USAGE.rst | 19 ++- .../static/description/index.html | 32 +++-- .../tests/test_holidays_calculation.py | 37 ++---- .../views/hr_holidays_public_view.xml | 92 +++++++------ .../views/hr_holidays_status_views.xml | 5 +- .../holidays_public_next_year_wizard.xml | 125 +++++++++--------- 16 files changed, 300 insertions(+), 444 deletions(-) delete mode 100644 hr_holidays_public/models/hr_employee.py delete mode 100644 hr_holidays_public/models/hr_holidays_public_line.py diff --git a/hr_holidays_public/README.rst b/hr_holidays_public/README.rst index a14c0885..a7580ed5 100644 --- a/hr_holidays_public/README.rst +++ b/hr_holidays_public/README.rst @@ -26,9 +26,9 @@ HR Holidays Public |badge1| |badge2| |badge3| |badge4| |badge5| This module is a technical module to handle public holidays. -The calculation of each leave can exclude rest days or public holiday. -The calculation of each leave includes the number of hours taken from -employee calendar attendances + +The calculation of each leave can exclude rest public holiday, depending on +the leave type configuration. **Table of contents** @@ -40,15 +40,28 @@ Configuration Go to *Leaves -> Configuration* and open a Leave Type -* Check "Exclude Rest Days" to exclude resource calendar rest days -* Check "Exclude Public Holidays" to exclude public holidays -* Uncheck "Compute Full Days" to allow fractional days. +* Check "Exclude Public Holidays" to exclude public holidays. Usage ===== -Go to the menu *Leaves > Public Holidays > Public Holidays* and create your -public holidays. +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 *Leaves > 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. Bug Tracker =========== @@ -68,6 +81,7 @@ Authors * Michael Telahun Makonnen * Tecnativa +* Fekete Mihai (Forest and Biomass Services Romania) Contributors ~~~~~~~~~~~~ diff --git a/hr_holidays_public/models/__init__.py b/hr_holidays_public/models/__init__.py index ffecfb84..322a89f5 100644 --- a/hr_holidays_public/models/__init__.py +++ b/hr_holidays_public/models/__init__.py @@ -1,6 +1,4 @@ -from . import hr_employee from . import hr_holidays from . import hr_holidays_status from . import hr_holidays_public -from . import hr_holidays_public_line from . import resource diff --git a/hr_holidays_public/models/hr_employee.py b/hr_holidays_public/models/hr_employee.py deleted file mode 100644 index 594b88f4..00000000 --- a/hr_holidays_public/models/hr_employee.py +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2015 iDT LABS (http://www.@idtlabs.sl) -# Copyright 2017 Tecnativa - Pedro M. Baeza -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -import datetime -from datetime import timedelta -from dateutil import rrule -from odoo import fields, models -from odoo.tools import float_utils - - -class HrEmployee(models.Model): - _inherit = 'hr.employee' - - def _get_holidays_public_leaves(self, start_dt, end_dt): - """Get the public holidays for the current employee and given dates in - the format expected by resource methods. - :param: start_dt: Initial datetime. - :param: end_dt: End datetime. - :return: List of tuples with (start_date, end_date) as elements. - """ - self.ensure_one() - leaves = [] - for day in rrule.rrule(rrule.YEARLY, dtstart=start_dt, until=end_dt): - lines = self.env['hr.holidays.public'].get_holidays_list( - day.year, employee_id=self.id, - ) - for line in lines: - date = fields.Datetime.from_string(line.date) - leaves.append(( - datetime.datetime.combine(date, datetime.time.min), - datetime.datetime.combine(date, datetime.time.max))) - return leaves - - def get_work_days_data(self, from_datetime, to_datetime, calendar=None): - res = super(HrEmployee, self).get_work_days_data( - from_datetime=from_datetime, to_datetime=to_datetime, - calendar=calendar, - ) - self.ensure_one() - days_count = 0.0 - calendar = calendar or self.resource_calendar_id - for day_intervals in calendar._iter_work_intervals( - from_datetime, to_datetime, self.resource_id.id, - compute_leaves=True): - theoric_hours = self.get_day_work_hours_count( - day_intervals[0][0].date(), calendar=calendar) - work_time = sum( - (interval[1] - interval[0] for interval in day_intervals), - timedelta()) - if theoric_hours: - days_count += work_time.total_seconds() / 3600 / theoric_hours - else: - days_count += 1.0 - res['days'] = float_utils.float_round(days_count, precision_digits=3) - return res diff --git a/hr_holidays_public/models/hr_holidays.py b/hr_holidays_public/models/hr_holidays.py index 0f0b0b0f..fc7e904f 100644 --- a/hr_holidays_public/models/hr_holidays.py +++ b/hr_holidays_public/models/hr_holidays.py @@ -1,80 +1,29 @@ # Copyright 2015 iDT LABS (http://www.@idtlabs.sl) -# Copyright 2017 Tecnativa - Pedro M. Baeza +# Copyright 2017-2018 Tecnativa - Pedro M. Baeza # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -import pytz -from dateutil import tz -from odoo import api, fields, models - - -def to_naive_user_tz(date_time, record): - tz_name = record.env.context.get('tz') or record.env.user.tz - tz = pytz.timezone(tz_name) if tz_name else pytz.UTC - return pytz.UTC.localize( - date_time.replace(tzinfo=None), is_dst=False, - ).astimezone(tz).replace(tzinfo=None) +from odoo import api, models class HrHolidays(models.Model): _inherit = 'hr.holidays' - @api.onchange('employee_id') - def _onchange_employee_id(self): - super(HrHolidays, self)._onchange_employee_id() - self._onchange_data_hr_holidays_compute_days() - - @api.onchange('date_from') - def _onchange_date_from(self): - if not self.holiday_status_id.compute_full_days: - super(HrHolidays, self)._onchange_date_from() - if self.holiday_status_id.compute_full_days and self.date_from: - tz_name = self.employee_id.user_id.tz or self.env.user.tz - start_dt = to_naive_user_tz( - fields.Datetime.from_string(self.date_from), self) - dt = start_dt.replace( - hour=0, minute=0, second=0, microsecond=0, - tzinfo=tz.gettz(tz_name), - ).astimezone(tz.tzutc()) - self.date_from = fields.Datetime.to_string(dt) - if self.date_to: - end_dt = to_naive_user_tz( - fields.Datetime.from_string(self.date_to), self) - dt = end_dt.replace( - hour=23, minute=59, second=59, microsecond=999999, - tzinfo=tz.gettz(tz_name), - ).astimezone(tz.tzutc()) - self.date_to = fields.Datetime.to_string(dt) - self._onchange_data_hr_holidays_compute_days() - - @api.onchange('date_to') - def _onchange_date_to(self): - super(HrHolidays, self)._onchange_date_to() - if self.holiday_status_id.compute_full_days and self.date_to: - tz_name = self.employee_id.user_id.tz or self.env.user.tz - end_dt = to_naive_user_tz( - fields.Datetime.from_string(self.date_to), self) - dt = end_dt.replace( - hour=23, minute=59, second=59, microsecond=999999, - tzinfo=tz.gettz(tz_name), - ).astimezone(tz.tzutc()) - self.date_to = fields.Datetime.to_string(dt) - self._onchange_data_hr_holidays_compute_days() + 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): + obj = self.with_context( + employee_id=employee_id, + exclude_public_holidays=True, + ) + else: + obj = self + return super(HrHolidays, obj)._get_number_of_days( + date_from, date_to, employee_id, + ) @api.onchange('employee_id', 'holiday_status_id') - def _onchange_data_hr_holidays_compute_days(self): - if self.date_to and self.date_from and self.date_from <= self.date_to: - date_from = fields.Datetime.from_string(self.date_from) - date_to = fields.Datetime.from_string(self.date_to) - employee = self.employee_id - employee = employee.with_context(employee=employee) - if (self.holiday_status_id.exclude_public_holidays or - not self.holiday_status_id): - employee = employee.with_context(exclude_public_holidays=True) - employee = employee.with_context( - include_rest_days=not self.holiday_status_id.exclude_rest_days, - compute_full_days=self.holiday_status_id.compute_full_days, - ) - datas = employee.get_work_days_data(from_datetime=date_from, - to_datetime=date_to) - if datas: - self.number_of_days_temp = datas['days'] + def _onchange_data_hr_holidays_public(self): + """Trigger the number of days computation also when you change the + employee or the leave type. + """ + self._onchange_date_to() diff --git a/hr_holidays_public/models/hr_holidays_public.py b/hr_holidays_public/models/hr_holidays_public.py index 235551bb..d9ce1310 100644 --- a/hr_holidays_public/models/hr_holidays_public.py +++ b/hr_holidays_public/models/hr_holidays_public.py @@ -105,7 +105,6 @@ def get_holidays_list(self, year, employee_id=None): employee.address_id.state_id.id)] else: states_filter.append(('state_ids', '=', False)) - hhplo = self.env['hr.holidays.public.line'] holidays_lines = hhplo.search(states_filter) return holidays_lines @@ -129,3 +128,66 @@ def is_public_holiday(self, selected_date, employee_id=None): if hol_date.ids: return True return False + + +class HrHolidaysPublicLine(models.Model): + _name = 'hr.holidays.public.line' + _description = 'Public Holidays Lines' + _order = "date, name desc" + + name = fields.Char( + 'Name', + required=True, + ) + date = fields.Date( + 'Date', + required=True + ) + year_id = fields.Many2one( + 'hr.holidays.public', + 'Calendar Year', + required=True, + ) + variable_date = fields.Boolean('Date may change', oldname='variable', + default=True) + state_ids = fields.Many2many( + 'res.country.state', + 'hr_holiday_public_state_rel', + 'line_id', + 'state_id', + 'Related States' + ) + + @api.multi + @api.constrains('date', 'state_ids') + def _check_date_state(self): + for line in self: + line._check_date_state_one() + + def _check_date_state_one(self): + if fields.Date.from_string(self.date).year != self.year_id.year: + raise UserError(_( + 'Dates of holidays should be the same year ' + 'as the calendar year they are being assigned to' + )) + + if self.state_ids: + domain = [('date', '=', self.date), + ('year_id', '=', self.year_id.id), + ('state_ids', '!=', False), + ('id', '!=', self.id)] + holidays = self.search(domain) + + for holiday in holidays: + + if self.state_ids & holiday.state_ids: + raise UserError(_('You can\'t create duplicate public ' + 'holiday per date %s and one of the ' + 'country states.') % self.date) + domain = [('date', '=', self.date), + ('year_id', '=', self.year_id.id), + ('state_ids', '=', False)] + if self.search_count(domain) > 1: + raise UserError(_('You can\'t create duplicate public holiday ' + 'per date %s.') % self.date) + return True diff --git a/hr_holidays_public/models/hr_holidays_public_line.py b/hr_holidays_public/models/hr_holidays_public_line.py deleted file mode 100644 index c4961752..00000000 --- a/hr_holidays_public/models/hr_holidays_public_line.py +++ /dev/null @@ -1,72 +0,0 @@ -# © 2011,2013 Michael Telahun Makonnen -# © 2014 initOS GmbH & Co. KG -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from odoo import api, fields, models, _ -from odoo.exceptions import UserError - - -class HrHolidaysPublicLine(models.Model): - _name = 'hr.holidays.public.line' - _description = 'Public Holidays Lines' - _order = "date, name desc" - - name = fields.Char( - 'Name', - required=True, - ) - date = fields.Date( - 'Date', - required=True - ) - year_id = fields.Many2one( - 'hr.holidays.public', - 'Calendar Year', - required=True, - ) - variable_date = fields.Boolean('Date may change', oldname='variable', - default=True) - state_ids = fields.Many2many( - 'res.country.state', - 'hr_holiday_public_state_rel', - 'line_id', - 'state_id', - 'Related States' - ) - calendar_leave_id = fields.Many2one( - 'resource.calendar.leaves', - 'Resource Calendar Leave', copy=False) - - @api.multi - @api.constrains('date', 'state_ids') - def _check_date_state(self): - for line in self: - line._check_date_state_one() - - def _check_date_state_one(self): - if fields.Date.from_string(self.date).year != self.year_id.year: - raise UserError(_( - 'Dates of holidays should be the same year ' - 'as the calendar year they are being assigned to' - )) - - if self.state_ids: - domain = [('date', '=', self.date), - ('year_id', '=', self.year_id.id), - ('state_ids', '!=', False), - ('id', '!=', self.id)] - holidays = self.search(domain) - - for holiday in holidays: - - if self.state_ids & holiday.state_ids: - raise UserError(_('You can\'t create duplicate public ' - 'holiday per date %s and one of the ' - 'country states.') % self.date) - domain = [('date', '=', self.date), - ('year_id', '=', self.year_id.id), - ('state_ids', '=', False)] - if self.search_count(domain) > 1: - raise UserError(_('You can\'t create duplicate public holiday ' - 'per date %s.') % self.date) - return True diff --git a/hr_holidays_public/models/hr_holidays_status.py b/hr_holidays_public/models/hr_holidays_status.py index 3a7e4929..ac77f22d 100644 --- a/hr_holidays_public/models/hr_holidays_status.py +++ b/hr_holidays_public/models/hr_holidays_status.py @@ -1,5 +1,5 @@ # Copyright 2015 iDT LABS (http://www.@idtlabs.sl) -# Copyright 2017 Tecnativa - Pedro M. Baeza +# Copyright 2017-2018 Tecnativa - Pedro M. Baeza # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import fields, models @@ -8,21 +8,9 @@ class HrHolidaysStatus(models.Model): _inherit = 'hr.holidays.status' - exclude_rest_days = fields.Boolean( - string='Exclude Rest Days', - default=True, - help="If enabled, the employee's day off is skipped in leave days " - "calculation.", - ) exclude_public_holidays = fields.Boolean( string='Exclude Public Holidays', default=True, help="If enabled, public holidays are skipped in leave days " - "calculation.", - ) - compute_full_days = fields.Boolean( - string="Compute Full Days", - default=True, - help="If enabled, the number of computed days will always be for the " - "full days in the interval", + "calculation.", ) diff --git a/hr_holidays_public/models/resource.py b/hr_holidays_public/models/resource.py index 4eac2a56..f5282568 100644 --- a/hr_holidays_public/models/resource.py +++ b/hr_holidays_public/models/resource.py @@ -1,80 +1,47 @@ -# Copyright 2016 Odoo S. A. -# Copyright 2017 Tecnativa - Pedro M. Baeza +# Copyright 2017-2018 Tecnativa - Pedro M. Baeza # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from odoo import api, fields, models import datetime -import pytz from dateutil import rrule -from odoo import api, models - - -def to_naive_user_tz(date_time, record): - tz_name = record.env.context.get('tz') or record.env.user.tz - tz = pytz.timezone(tz_name) if tz_name else pytz.UTC - return pytz.UTC.localize( - date_time.replace(tzinfo=None), is_dst=False, - ).astimezone(tz).replace(tzinfo=None) - class ResourceCalendar(models.Model): _inherit = 'resource.calendar' + def _get_holidays_public_leaves(self, start_dt, end_dt, employe_id): + """Get the public holidays for the current employee and given dates in + the format expected by resource methods. + + :param: start_dt: Initial datetime. + :param: end_dt: End datetime. + :param: employee_id: Employee ID. It can be false. + :return: List of tuples with (start_date, end_date) as elements. + """ + leaves = [] + for day in rrule.rrule(rrule.YEARLY, dtstart=start_dt, until=end_dt): + lines = self.env['hr.holidays.public'].get_holidays_list( + day.year, employee_id=employe_id, + ) + for line in lines: + date = fields.Datetime.from_string(line.date) + leaves.append( + (datetime.datetime.combine(date, datetime.time.min), + datetime.datetime.combine(date, datetime.time.max)), + ) + return leaves + @api.multi def _get_leave_intervals(self, resource_id=None, start_datetime=None, end_datetime=None): - self.ensure_one() res = super(ResourceCalendar, self)._get_leave_intervals( resource_id=resource_id, start_datetime=start_datetime, - end_datetime=end_datetime) - if self.env.context.get('employee') and \ - self.env.context.get('exclude_public_holidays'): - employee = self.env.context.get('employee')[0] - res += employee._get_holidays_public_leaves( - start_datetime, end_datetime) + end_datetime=end_datetime, + ) + if self.env.context.get('exclude_public_holidays'): + res += self._get_holidays_public_leaves( + start_datetime, end_datetime, + self.env.context.get('employee_id', False), + ) return res - - def _iter_work_intervals(self, start_dt, end_dt, - resource_id, compute_leaves=True): - """ This overwrite Odoo method. - Lists the current resource's work intervals between the two provided - datetimes (inclusive) expressed in UTC, for each worked day. """ - self.ensure_one() - if not end_dt: - end_dt = datetime.datetime.combine(start_dt.date(), - datetime.time.max) - - start_dt = to_naive_user_tz(start_dt, self.env.user) - end_dt = to_naive_user_tz(end_dt, self.env.user) - real_weekdays = self._get_weekdays() - if self.env.context.get('include_rest_days'): - full_weekdays = range(7) - else: - full_weekdays = real_weekdays - - for day in rrule.rrule(rrule.DAILY, - dtstart=start_dt, - until=end_dt, - byweekday=full_weekdays): - start_time = datetime.time.min - if day.date() == start_dt.date(): - start_time = start_dt.time() - end_time = datetime.time.max - if day.date() == end_dt.date(): - end_time = end_dt.time() - - if day.weekday() in real_weekdays: - intervals = self._get_day_work_intervals( - day.date(), - start_time=start_time, - end_time=end_time, - compute_leaves=compute_leaves, - resource_id=resource_id) - else: # Include full day for rest days - Will be handled later - intervals = [(datetime.datetime.combine(day.date(), - datetime.time.min), - datetime.datetime.combine(day.date(), - datetime.time.max))] - if intervals: - yield intervals diff --git a/hr_holidays_public/readme/CONFIGURE.rst b/hr_holidays_public/readme/CONFIGURE.rst index 41792c42..a83f592c 100644 --- a/hr_holidays_public/readme/CONFIGURE.rst +++ b/hr_holidays_public/readme/CONFIGURE.rst @@ -1,5 +1,3 @@ Go to *Leaves -> Configuration* and open a Leave Type -* Check "Exclude Rest Days" to exclude resource calendar rest days -* Check "Exclude Public Holidays" to exclude public holidays -* Uncheck "Compute Full Days" to allow fractional days. +* Check "Exclude Public Holidays" to exclude public holidays. diff --git a/hr_holidays_public/readme/DESCRIPTION.rst b/hr_holidays_public/readme/DESCRIPTION.rst index d21e6555..3a91040c 100644 --- a/hr_holidays_public/readme/DESCRIPTION.rst +++ b/hr_holidays_public/readme/DESCRIPTION.rst @@ -1,4 +1,4 @@ This module is a technical module to handle public holidays. -The calculation of each leave can exclude rest days or public holiday. -The calculation of each leave includes the number of hours taken from -employee calendar attendances + +The calculation of each leave can exclude rest public holiday, depending on +the leave type configuration. diff --git a/hr_holidays_public/readme/USAGE.rst b/hr_holidays_public/readme/USAGE.rst index 8773c822..b904d219 100644 --- a/hr_holidays_public/readme/USAGE.rst +++ b/hr_holidays_public/readme/USAGE.rst @@ -1,2 +1,17 @@ -Go to the menu *Leaves > Public Holidays > Public Holidays* and create your -public holidays. +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 *Leaves > 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. diff --git a/hr_holidays_public/static/description/index.html b/hr_holidays_public/static/description/index.html index fc1de74d..e4b65a1c 100644 --- a/hr_holidays_public/static/description/index.html +++ b/hr_holidays_public/static/description/index.html @@ -368,10 +368,9 @@

HR Holidays Public

!! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/hr Translate me on Weblate Try me on Runbot

-

This module is a technical module to handle public holidays. -The calculation of each leave can exclude rest days or public holiday. -The calculation of each leave includes the number of hours taken from -employee calendar attendances

+

This module is a technical module to handle public holidays.

+

The calculation of each leave can exclude rest public holiday, depending on +the leave type configuration.

Table of contents

    @@ -390,15 +389,29 @@

    HR Holidays Public

    Configuration

    Go to Leaves -> Configuration and open a Leave Type

      -
    • Check “Exclude Rest Days” to exclude resource calendar rest days
    • -
    • Check “Exclude Public Holidays” to exclude public holidays
    • -
    • Uncheck “Compute Full Days” to allow fractional days.
    • +
    • Check “Exclude Public Holidays” to exclude public holidays.

Usage

-

Go to the menu Leaves > Public Holidays > Public Holidays and create your -public holidays.

+

For adding public holidays:

+
    +
  1. Go to the menu Leaves > Public Holidays > Public Holidays.
  2. +
  3. Create your public holidays.
  4. +
+

For using public holidays on leaves:

+
    +
  1. Go to Leaves > Dashboard.
  2. +
  3. 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.
  4. +
  5. Select the proper “Leave Type” that has “Exclude Public Holidays” checked.
  6. +
  7. If no leave type is yet specified, then default configuration is to exclude +public holidays.
  8. +
  9. The number of days will be computed excluding public holidays that match the +selected employee, including global, country and state holidays.
  10. +
  11. If no employee is yet selected, only global holidays will be taken into +account.
  12. +

Bug Tracker

@@ -415,6 +428,7 @@

Authors

  • Michael Telahun Makonnen
  • Tecnativa
  • +
  • Fekete Mihai (Forest and Biomass Services Romania)
diff --git a/hr_holidays_public/tests/test_holidays_calculation.py b/hr_holidays_public/tests/test_holidays_calculation.py index 3be74c3e..653eaa23 100644 --- a/hr_holidays_public/tests/test_holidays_calculation.py +++ b/hr_holidays_public/tests/test_holidays_calculation.py @@ -1,5 +1,5 @@ # Copyright 2015 iDT LABS (http://www.@idtlabs.sl) -# Copyright 2017 Tecnativa - Pedro M. Baeza +# Copyright 2017-2018 Tecnativa - Pedro M. Baeza # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo.tests import common @@ -14,13 +14,11 @@ def setUpClass(cls): super(TestHolidaysComputeDaysBase, cls).setUpClass() cls.HrHolidays = cls.env['hr.holidays'] cls.HrHolidaysPublic = cls.env["hr.holidays.public"] - # Remove timezone for controlling data better cls.env.user.tz = False - cls.calendar = cls.env['resource.calendar'].create({ 'name': 'Calendar', - 'attendance_ids': [] + 'attendance_ids': [], }) for day in range(5): # From monday to friday cls.calendar.attendance_ids = [ @@ -37,7 +35,6 @@ def setUpClass(cls): 'hour_to': '18', }), ] - cls.address_1 = cls.env['res.partner'].create({ 'name': 'Address 1', 'country_id': cls.env.ref('base.uk').id, @@ -87,30 +84,14 @@ def setUpClass(cls): cls.holiday_type = cls.env['hr.holidays.status'].create({ 'name': 'Leave Type Test', 'exclude_public_holidays': True, - 'exclude_rest_days': True, - 'compute_full_days': True, }) cls.holiday_type_no_excludes = cls.env['hr.holidays.status'].create({ 'name': 'Leave Type Test Without excludes', 'exclude_public_holidays': False, - 'exclude_rest_days': False, - 'compute_full_days': False, }) class TestHolidaysComputeDays(TestHolidaysComputeDaysBase): - def test_onchange_dates(self): - holidays = self.HrHolidays.new({ - 'date_from': '1946-12-20', - 'date_to': '1946-12-21', - 'holiday_status_id': self.holiday_type.id, - 'employee_id': self.employee_1.id, - }) - holidays._onchange_date_from() - self.assertEqual(holidays.date_from, '1946-12-20 00:00:00') - holidays._onchange_date_to() - self.assertEqual(holidays.date_to, '1946-12-21 23:59:59') - def test_number_days_excluding_employee_1(self): holidays = self.HrHolidays.new({ 'date_from': '1946-12-23 00:00:00', # Monday @@ -118,7 +99,7 @@ def test_number_days_excluding_employee_1(self): 'holiday_status_id': self.holiday_type.id, 'employee_id': self.employee_1.id, }) - holidays._onchange_data_hr_holidays_compute_days() + holidays._onchange_data_hr_holidays_public() self.assertEqual(holidays.number_of_days_temp, 4) def _test_number_days_excluding_employee_2(self): @@ -128,7 +109,7 @@ def _test_number_days_excluding_employee_2(self): 'holiday_status_id': self.holiday_type.id, 'employee_id': self.employee_2.id, }) - holidays._onchange_data_hr_holidays_compute_days() + holidays._onchange_data_hr_holidays_public() self.assertEqual(holidays.number_of_days_temp, 2) def test_number_days_not_excluding(self): @@ -138,8 +119,8 @@ def test_number_days_not_excluding(self): 'holiday_status_id': self.holiday_type_no_excludes.id, 'employee_id': self.employee_1.id, }) - holidays._onchange_data_hr_holidays_compute_days() - self.assertEqual(holidays.number_of_days_temp, 7.0) + holidays._onchange_data_hr_holidays_public() + self.assertEqual(holidays.number_of_days_temp, 5) def test_fractional_number_days(self): holidays = self.HrHolidays.new({ @@ -148,7 +129,5 @@ def test_fractional_number_days(self): 'holiday_status_id': self.holiday_type.id, 'employee_id': self.employee_1.id, }) - holidays._onchange_data_hr_holidays_compute_days() - self.assertAlmostEqual( - holidays.number_of_days_temp, 0.5, 3, - ) + holidays._onchange_data_hr_holidays_public() + self.assertAlmostEqual(holidays.number_of_days_temp, 0.5, 3) diff --git a/hr_holidays_public/views/hr_holidays_public_view.xml b/hr_holidays_public/views/hr_holidays_public_view.xml index cd7490ba..d1d32e2c 100644 --- a/hr_holidays_public/views/hr_holidays_public_view.xml +++ b/hr_holidays_public/views/hr_holidays_public_view.xml @@ -1,57 +1,61 @@ - - hr.holidays.public.tree - hr.holidays.public - - - - - - - + + hr.holidays.public.tree + hr.holidays.public + + + + + + + - - hr.holidays.public.form - hr.holidays.public - - - + + hr.holidays.public.form + hr.holidays.public + + + + - - - - - - - - - - + + - - - + + + + + + + + + + + + + + - - Public Holidays - hr.holidays.public - tree,form - + + Public Holidays + hr.holidays.public + tree,form + - + - + diff --git a/hr_holidays_public/views/hr_holidays_status_views.xml b/hr_holidays_public/views/hr_holidays_status_views.xml index a53d8989..031f47f3 100644 --- a/hr_holidays_public/views/hr_holidays_status_views.xml +++ b/hr_holidays_public/views/hr_holidays_status_views.xml @@ -6,11 +6,8 @@ hr.holidays.status - - + - diff --git a/hr_holidays_public/wizards/holidays_public_next_year_wizard.xml b/hr_holidays_public/wizards/holidays_public_next_year_wizard.xml index 7653b089..a842e5a1 100644 --- a/hr_holidays_public/wizards/holidays_public_next_year_wizard.xml +++ b/hr_holidays_public/wizards/holidays_public_next_year_wizard.xml @@ -4,71 +4,70 @@ - - Create Next Year Public Holidays - public.holidays.next.year.wizard - -
- -
- Use this wizard to create public holidays based on the - existing ones.
- 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). -
- - - -
- By default, the most recent public holidays - for each country are used as template to create - public holidays for the year following the templates. -

- Normally, you should not need to input anything in - optional fields and only need to click on the button - "Create". -
-
- -
- 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." -
- - - - -
-
- -
-
-
-
-
-
+ + Create Next Year Public Holidays + public.holidays.next.year.wizard + +
+ +
+ Use this wizard to create public holidays based on the + existing ones.
+ 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). +
- - Create Next Year Public Holidays - public.holidays.next.year.wizard - form - form - new - + + +
+ By default, the most recent public holidays + for each country are used as template to create + public holidays for the year following the templates. +

+ Normally, you should not need to input anything in + optional fields and only need to click on the button + "Create". +
+
+ +
+ 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." +
+ + + + +
+
- +
+
+
+
+
+
+ + Create Next Year Public Holidays + public.holidays.next.year.wizard + form + form + new + + +
From aa7121d02d3c2b03bd7262e9e45401b209826942 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Tue, 4 Sep 2018 01:24:02 +0200 Subject: [PATCH 05/76] [MIG] hr_holidays_compute_days: Adapt to 11.0 + minimize This has been totally reworked for decoupling parts, not depending now on hr_holidays_public, and making transparent its use for compatibility with other modules. --- hr_holidays_public/i18n/ar.po | 122 ++++++--- hr_holidays_public/i18n/de.po | 120 +++++--- hr_holidays_public/i18n/es.po | 120 +++++--- hr_holidays_public/i18n/fi.po | 119 +++++--- hr_holidays_public/i18n/fr.po | 120 +++++--- hr_holidays_public/i18n/hr.po | 123 ++++++--- hr_holidays_public/i18n/hr_HR.po | 126 +++++---- .../i18n/hr_holidays_public.pot | 259 ++++++++++++++++++ hr_holidays_public/i18n/it.po | 119 +++++--- hr_holidays_public/i18n/nl_NL.po | 123 ++++++--- hr_holidays_public/i18n/pl.po | 124 ++++++--- hr_holidays_public/i18n/pt_BR.po | 122 ++++++--- hr_holidays_public/i18n/ro.po | 122 ++++++--- hr_holidays_public/i18n/sl.po | 123 ++++++--- hr_holidays_public/models/hr_holidays.py | 1 - .../models/hr_holidays_status.py | 1 - .../tests/test_holidays_calculation.py | 10 - 17 files changed, 1261 insertions(+), 593 deletions(-) create mode 100644 hr_holidays_public/i18n/hr_holidays_public.pot diff --git a/hr_holidays_public/i18n/ar.po b/hr_holidays_public/i18n/ar.po index c12308fb..ceafa67d 100644 --- a/hr_holidays_public/i18n/ar.po +++ b/hr_holidays_public/i18n/ar.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_holidays_public -# +# # Translators: # OCA Transbot , 2016 # abdullah alsabi , 2017 @@ -13,22 +13,26 @@ msgstr "" "PO-Revision-Date: 2017-06-10 04:30+0000\n" "Last-Translator: abdullah alsabi , 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" -"Language: ar\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" +"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.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" -"

\n" -" Normally, you should not need to input anything in \n" -" optional fields and only need to click on the button \n" -" \"Create\"." +"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" +"

\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 @@ -53,8 +57,8 @@ msgid "Create" msgstr "" #. module: hr_holidays_public -#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public -#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" @@ -62,19 +66,19 @@ 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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard +#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" @@ -84,12 +88,12 @@ msgid "Date" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -103,10 +107,15 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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" @@ -115,31 +124,46 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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_holidays_public_next_year_wizard___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_line_write_uid #: 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_holidays_public_next_year_wizard_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_line_write_date #: 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_holidays_public_next_year_wizard_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,name:hr_holidays_public.model_hr_holidays +msgid "Leave" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +msgid "Leave Type" +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 @@ -147,7 +171,7 @@ msgid "Name" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:40 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " @@ -162,8 +186,8 @@ 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_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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form #: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" @@ -180,7 +204,12 @@ msgid "Related States" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: model:ir.model,name:hr_holidays_public.model_resource_calendar +msgid "Resource Calendar" +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 " @@ -189,54 +218,57 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: 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: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.\"" +"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.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.
\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)." +"Use this wizard to create public holidays based on the\n" +" existing ones.
\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.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year +#: 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_holidays_public_next_year_wizard_year +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 #, python-format msgid "" -"You can't create duplicate public holiday per date %s and one of the country" -" states." +"You can't create duplicate public holiday per date %s and one of the country " +"states." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" @@ -248,7 +280,7 @@ msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/de.po b/hr_holidays_public/i18n/de.po index a55858f9..dddd7f3c 100644 --- a/hr_holidays_public/i18n/de.po +++ b/hr_holidays_public/i18n/de.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_holidays_public -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,22 +12,25 @@ msgstr "" "PO-Revision-Date: 2017-03-03 03:37+0000\n" "Last-Translator: OCA Transbot , 2016\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" -"Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: hr_holidays_public #: model: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" -"

\n" -" Normally, you should not need to input anything in \n" -" optional fields and only need to click on the button \n" -" \"Create\"." +"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" +"

\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 @@ -52,8 +55,8 @@ msgid "Create" msgstr "" #. module: hr_holidays_public -#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public -#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" @@ -61,19 +64,19 @@ 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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard_create_date +#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_create_date msgid "Created on" msgstr "Angelegt am" #. module: hr_holidays_public -#: model:ir.model,name:hr_holidays_public.model_holidays_public_next_year_wizard +#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" @@ -83,12 +86,12 @@ msgid "Date" msgstr "Datum" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -104,10 +107,16 @@ 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_holidays_public_next_year_wizard_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_holidays_status_exclude_public_holidays +#, fuzzy +msgid "Exclude Public Holidays" +msgstr "Feiertage" + #. module: hr_holidays_public #: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_ids msgid "Holiday Dates" @@ -116,31 +125,46 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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_holidays_public_next_year_wizard___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_line_write_uid #: 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_holidays_public_next_year_wizard_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 durch" #. module: hr_holidays_public #: 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_hr_holidays_public_write_date -#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_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,name:hr_holidays_public.model_hr_holidays +msgid "Leave" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +msgid "Leave Type" +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 @@ -148,7 +172,7 @@ msgid "Name" msgstr "Bezeichnung" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:40 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " @@ -163,8 +187,8 @@ 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_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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form #: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" @@ -181,7 +205,12 @@ msgid "Related States" msgstr "Verwandte Staaten" #. module: hr_holidays_public -#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: model:ir.model,name:hr_holidays_public.model_resource_calendar +msgid "Resource Calendar" +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 " @@ -190,56 +219,59 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: 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: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.\"" +"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.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.
\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)." +"Use this wizard to create public holidays based on the\n" +" existing ones.
\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.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year +#: 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_holidays_public_next_year_wizard_year +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 #, python-format msgid "" -"You can't create duplicate public holiday per date %s and one of the country" -" states." +"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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" @@ -254,7 +286,7 @@ msgstr "" "erstellen." #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/es.po b/hr_holidays_public/i18n/es.po index 59b3c283..d83e60ca 100644 --- a/hr_holidays_public/i18n/es.po +++ b/hr_holidays_public/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_holidays_public -# +# # Translators: # OCA Transbot , 2016 # José Antonio Cuello , 2017 @@ -13,22 +13,25 @@ msgstr "" "PO-Revision-Date: 2017-03-03 03:37+0000\n" "Last-Translator: José Antonio Cuello , 2017\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" -"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: hr_holidays_public #: model: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" -"

\n" -" Normally, you should not need to input anything in \n" -" optional fields and only need to click on the button \n" -" \"Create\"." +"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" +"

\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 @@ -53,8 +56,8 @@ msgid "Create" msgstr "" #. module: hr_holidays_public -#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public -#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" @@ -62,19 +65,19 @@ 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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard +#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" @@ -84,12 +87,12 @@ msgid "Date" msgstr "Fecha" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -105,10 +108,16 @@ 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_holidays_public_next_year_wizard_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_holidays_status_exclude_public_holidays +#, fuzzy +msgid "Exclude Public Holidays" +msgstr "Vacaciones públicas" + #. module: hr_holidays_public #: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_ids msgid "Holiday Dates" @@ -117,31 +126,46 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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_holidays_public_next_year_wizard___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_line_write_uid #: 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_holidays_public_next_year_wizard_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_line_write_date #: 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_holidays_public_next_year_wizard_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,name:hr_holidays_public.model_hr_holidays +msgid "Leave" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +msgid "Leave Type" +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 @@ -149,7 +173,7 @@ msgid "Name" msgstr "Nombre" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:40 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " @@ -164,8 +188,8 @@ 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_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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form #: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" @@ -182,7 +206,12 @@ msgid "Related States" msgstr "Provincias relacionadas" #. module: hr_holidays_public -#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: model:ir.model,name:hr_holidays_public.model_resource_calendar +msgid "Resource Calendar" +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 " @@ -191,56 +220,59 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: 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: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.\"" +"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.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.
\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)." +"Use this wizard to create public holidays based on the\n" +" existing ones.
\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.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year +#: 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_holidays_public_next_year_wizard_year +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 #, python-format msgid "" -"You can't create duplicate public holiday per date %s and one of the country" -" states." +"You can't create duplicate public holiday per date %s and one of the country " +"states." msgstr "" "No puede crear vacaciones públicas duplicadas para la fecha %s y una de las " "provincias." #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "No puede crear vacaciones públicas duplicadas para la fecha %s." @@ -252,7 +284,7 @@ msgid "You can't create duplicate public holiday per year and/or country" msgstr "No puede crear vacaciones públicas duplicadas para el año y/o país." #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/fi.po b/hr_holidays_public/i18n/fi.po index fce83354..1b88a645 100644 --- a/hr_holidays_public/i18n/fi.po +++ b/hr_holidays_public/i18n/fi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_holidays_public -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,22 +12,25 @@ msgstr "" "PO-Revision-Date: 2017-03-03 03:37+0000\n" "Last-Translator: OCA Transbot , 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" -"Language: fi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: hr_holidays_public #: model: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" -"

\n" -" Normally, you should not need to input anything in \n" -" optional fields and only need to click on the button \n" -" \"Create\"." +"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" +"

\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 @@ -52,8 +55,8 @@ msgid "Create" msgstr "" #. module: hr_holidays_public -#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public -#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" @@ -61,19 +64,19 @@ 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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard +#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" @@ -83,12 +86,12 @@ msgid "Date" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -102,10 +105,15 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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" @@ -114,31 +122,46 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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_holidays_public_next_year_wizard___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_line_write_uid #: 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_holidays_public_next_year_wizard_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_line_write_date #: 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_holidays_public_next_year_wizard_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,name:hr_holidays_public.model_hr_holidays +msgid "Leave" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +msgid "Leave Type" +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 @@ -146,7 +169,7 @@ msgid "Name" msgstr "Nimi" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:40 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " @@ -161,8 +184,8 @@ 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_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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form #: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" @@ -179,7 +202,12 @@ msgid "Related States" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: model:ir.model,name:hr_holidays_public.model_resource_calendar +msgid "Resource Calendar" +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 " @@ -188,54 +216,57 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: 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: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.\"" +"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.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.
\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)." +"Use this wizard to create public holidays based on the\n" +" existing ones.
\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.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year +#: 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_holidays_public_next_year_wizard_year +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 #, python-format msgid "" -"You can't create duplicate public holiday per date %s and one of the country" -" states." +"You can't create duplicate public holiday per date %s and one of the country " +"states." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" @@ -247,7 +278,7 @@ msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/fr.po b/hr_holidays_public/i18n/fr.po index 28815972..3d25e374 100644 --- a/hr_holidays_public/i18n/fr.po +++ b/hr_holidays_public/i18n/fr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_holidays_public -# +# # Translators: # OCA Transbot , 2016 # leemannd , 2017 @@ -13,22 +13,25 @@ msgstr "" "PO-Revision-Date: 2017-03-03 03:37+0000\n" "Last-Translator: leemannd , 2017\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" -"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: hr_holidays_public #: model: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" -"

\n" -" Normally, you should not need to input anything in \n" -" optional fields and only need to click on the button \n" -" \"Create\"." +"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" +"

\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 @@ -53,8 +56,8 @@ msgid "Create" msgstr "" #. module: hr_holidays_public -#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public -#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" @@ -62,19 +65,19 @@ 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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard +#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" @@ -84,12 +87,12 @@ msgid "Date" msgstr "Date" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable_date msgid "Date may change" msgstr "La Date peux cjanger" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -105,10 +108,16 @@ 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_holidays_public_next_year_wizard_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_holidays_status_exclude_public_holidays +#, fuzzy +msgid "Exclude Public Holidays" +msgstr "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" @@ -117,31 +126,46 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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_holidays_public_next_year_wizard___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_line_write_uid #: 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_holidays_public_next_year_wizard_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_line_write_date #: 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_holidays_public_next_year_wizard_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,name:hr_holidays_public.model_hr_holidays +msgid "Leave" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +msgid "Leave Type" +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 @@ -149,7 +173,7 @@ msgid "Name" msgstr "Nom" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:40 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " @@ -164,8 +188,8 @@ 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_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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form #: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" @@ -182,7 +206,12 @@ msgid "Related States" msgstr "Etats liés" #. module: hr_holidays_public -#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: model:ir.model,name:hr_holidays_public.model_resource_calendar +msgid "Resource Calendar" +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 " @@ -191,54 +220,57 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: 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: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.\"" +"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.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.
\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)." +"Use this wizard to create public holidays based on the\n" +" existing ones.
\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.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year +#: 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_holidays_public_next_year_wizard_year +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 #, python-format msgid "" -"You can't create duplicate public holiday per date %s and one of the country" -" states." +"You can't create duplicate public holiday per date %s and one of the country " +"states." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" @@ -250,7 +282,7 @@ msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/hr.po b/hr_holidays_public/i18n/hr.po index a16ee739..e3608aba 100644 --- a/hr_holidays_public/i18n/hr.po +++ b/hr_holidays_public/i18n/hr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_holidays_public -# +# # Translators: # Bole , 2017 msgid "" @@ -12,22 +12,26 @@ msgstr "" "PO-Revision-Date: 2017-07-04 06:53+0000\n" "Last-Translator: Bole , 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" -"Language: hr\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" +"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.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" -"

\n" -" Normally, you should not need to input anything in \n" -" optional fields and only need to click on the button \n" -" \"Create\"." +"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" +"

\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 @@ -52,8 +56,8 @@ msgid "Create" msgstr "Kreiraj" #. module: hr_holidays_public -#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public -#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_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: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" @@ -61,19 +65,19 @@ 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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard +#: 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" @@ -83,12 +87,12 @@ msgid "Date" msgstr "Datum" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -104,10 +108,16 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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" @@ -116,31 +126,46 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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_holidays_public_next_year_wizard___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_line_write_uid #: 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_holidays_public_next_year_wizard_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_line_write_date #: 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_holidays_public_next_year_wizard_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,name:hr_holidays_public.model_hr_holidays +msgid "Leave" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +msgid "Leave Type" +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 @@ -148,7 +173,7 @@ msgid "Name" msgstr "Naziv" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:40 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " @@ -165,8 +190,8 @@ msgstr "Opcionalno" #. 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_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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form #: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" @@ -183,7 +208,12 @@ msgid "Related States" msgstr "Povezane županije" #. module: hr_holidays_public -#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: model:ir.model,name:hr_holidays_public.model_resource_calendar +msgid "Resource Calendar" +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 " @@ -192,54 +222,57 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: 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: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.\"" +"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.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.
\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)." +"Use this wizard to create public holidays based on the\n" +" existing ones.
\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.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year +#: 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_holidays_public_next_year_wizard_year +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 #, python-format msgid "" -"You can't create duplicate public holiday per date %s and one of the country" -" states." +"You can't create duplicate public holiday per date %s and one of the country " +"states." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" @@ -251,7 +284,7 @@ msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/hr_HR.po b/hr_holidays_public/i18n/hr_HR.po index d2e295b0..0bc8ea4a 100644 --- a/hr_holidays_public/i18n/hr_HR.po +++ b/hr_holidays_public/i18n/hr_HR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_holidays_public -# +# # Translators: # OCA Transbot , 2016 # Bole , 2017 @@ -12,23 +12,28 @@ msgstr "" "POT-Creation-Date: 2017-03-03 03:37+0000\n" "PO-Revision-Date: 2017-03-03 03:37+0000\n" "Last-Translator: Bole , 2017\n" -"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\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" -"Language: hr_HR\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" +"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.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" -"

\n" -" Normally, you should not need to input anything in \n" -" optional fields and only need to click on the button \n" -" \"Create\"." +"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" +"

\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 @@ -53,8 +58,8 @@ msgid "Create" msgstr "" #. module: hr_holidays_public -#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public -#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" @@ -62,19 +67,19 @@ 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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard +#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" @@ -84,12 +89,12 @@ msgid "Date" msgstr "Datum" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -105,10 +110,16 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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" @@ -117,31 +128,46 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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_holidays_public_next_year_wizard___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_line_write_uid #: 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_holidays_public_next_year_wizard_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_line_write_date #: 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_holidays_public_next_year_wizard_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,name:hr_holidays_public.model_hr_holidays +msgid "Leave" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +msgid "Leave Type" +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 @@ -149,7 +175,7 @@ msgid "Name" msgstr "Naziv" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:40 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " @@ -164,8 +190,8 @@ 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_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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form #: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" @@ -182,7 +208,12 @@ msgid "Related States" msgstr "Povezani statusi" #. module: hr_holidays_public -#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: model:ir.model,name:hr_holidays_public.model_resource_calendar +msgid "Resource Calendar" +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 " @@ -191,54 +222,57 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: 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: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.\"" +"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.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.
\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)." +"Use this wizard to create public holidays based on the\n" +" existing ones.
\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.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year +#: 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_holidays_public_next_year_wizard_year +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 #, python-format msgid "" -"You can't create duplicate public holiday per date %s and one of the country" -" states." +"You can't create duplicate public holiday per date %s and one of the country " +"states." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" @@ -250,7 +284,7 @@ msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/hr_holidays_public.pot b/hr_holidays_public/i18n/hr_holidays_public.pot new file mode 100644 index 00000000..5efb7812 --- /dev/null +++ b/hr_holidays_public/i18n/hr_holidays_public.pot @@ -0,0 +1,259 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_holidays_public +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.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.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" +"

\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_line_year_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_year +msgid "Calendar Year" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +msgid "Cancel" +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: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: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 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 +#, 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: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_holidays_status_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_holidays_status_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_line_write_uid +#: 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_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_line_write_date +#: 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_public_holidays_next_year_wizard_write_date +msgid "Last Updated on" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays +msgid "Leave" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +msgid "Leave Type" +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 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:40 +#, python-format +msgid "No Public Holidays found as template. Please create the first Public Holidays manually." +msgstr "" + +#. module: hr_holidays_public +#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +msgid "Optional" +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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form +#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree +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 Calendar" +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: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.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.
\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.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 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 +#, python-format +msgid "You can't create duplicate public holiday per date %s and one of the country states." +msgstr "" + +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 +#, python-format +msgid "You can't create duplicate public holiday per date %s." +msgstr "" + +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 +#, python-format +msgid "You can't create duplicate public holiday per year and/or country" +msgstr "" + +#. module: hr_holidays_public +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 +#, 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 "" + diff --git a/hr_holidays_public/i18n/it.po b/hr_holidays_public/i18n/it.po index 41651337..3acbef39 100644 --- a/hr_holidays_public/i18n/it.po +++ b/hr_holidays_public/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_holidays_public -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,22 +12,25 @@ msgstr "" "PO-Revision-Date: 2017-03-03 03:37+0000\n" "Last-Translator: OCA Transbot , 2016\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" -"Language: it\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: hr_holidays_public #: model: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" -"

\n" -" Normally, you should not need to input anything in \n" -" optional fields and only need to click on the button \n" -" \"Create\"." +"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" +"

\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 @@ -52,8 +55,8 @@ msgid "Create" msgstr "" #. module: hr_holidays_public -#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public -#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" @@ -61,19 +64,19 @@ 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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard +#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" @@ -83,12 +86,12 @@ msgid "Date" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -102,10 +105,15 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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" @@ -114,31 +122,46 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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_holidays_public_next_year_wizard___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_line_write_uid #: 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_holidays_public_next_year_wizard_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_line_write_date #: 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_holidays_public_next_year_wizard_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,name:hr_holidays_public.model_hr_holidays +msgid "Leave" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +msgid "Leave Type" +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 @@ -146,7 +169,7 @@ msgid "Name" msgstr "Nome" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:40 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " @@ -161,8 +184,8 @@ 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_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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form #: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" @@ -179,7 +202,12 @@ msgid "Related States" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: model:ir.model,name:hr_holidays_public.model_resource_calendar +msgid "Resource Calendar" +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 " @@ -188,54 +216,57 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: 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: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.\"" +"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.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.
\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)." +"Use this wizard to create public holidays based on the\n" +" existing ones.
\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.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year +#: 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_holidays_public_next_year_wizard_year +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 #, python-format msgid "" -"You can't create duplicate public holiday per date %s and one of the country" -" states." +"You can't create duplicate public holiday per date %s and one of the country " +"states." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" @@ -247,7 +278,7 @@ msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/nl_NL.po b/hr_holidays_public/i18n/nl_NL.po index faa2eb40..56b97335 100644 --- a/hr_holidays_public/i18n/nl_NL.po +++ b/hr_holidays_public/i18n/nl_NL.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_holidays_public -# +# # Translators: # Peter Hageman , 2017 msgid "" @@ -11,23 +11,27 @@ msgstr "" "POT-Creation-Date: 2017-06-10 04:30+0000\n" "PO-Revision-Date: 2017-06-10 04:30+0000\n" "Last-Translator: Peter Hageman , 2017\n" -"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\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" -"Language: nl_NL\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: hr_holidays_public #: model: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" -"

\n" -" Normally, you should not need to input anything in \n" -" optional fields and only need to click on the button \n" -" \"Create\"." +"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" +"

\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 @@ -52,8 +56,8 @@ msgid "Create" msgstr "Aanmaken" #. module: hr_holidays_public -#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public -#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" @@ -61,19 +65,19 @@ 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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard +#: 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" @@ -83,12 +87,12 @@ msgid "Date" msgstr "Datum" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -102,10 +106,16 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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" @@ -114,31 +124,46 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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_holidays_public_next_year_wizard___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_line_write_uid #: 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_holidays_public_next_year_wizard_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_line_write_date #: 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_holidays_public_next_year_wizard_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,name:hr_holidays_public.model_hr_holidays +msgid "Leave" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +msgid "Leave Type" +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 @@ -146,7 +171,7 @@ msgid "Name" msgstr "Naam" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:40 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " @@ -161,8 +186,8 @@ msgstr "Optioneel" #. 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_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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form #: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" @@ -179,7 +204,12 @@ msgid "Related States" msgstr "Gerelateerde Fases" #. module: hr_holidays_public -#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: model:ir.model,name:hr_holidays_public.model_resource_calendar +msgid "Resource Calendar" +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 " @@ -188,54 +218,57 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: 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: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.\"" +"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.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.
\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)." +"Use this wizard to create public holidays based on the\n" +" existing ones.
\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.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year +#: 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_holidays_public_next_year_wizard_year +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 #, python-format msgid "" -"You can't create duplicate public holiday per date %s and one of the country" -" states." +"You can't create duplicate public holiday per date %s and one of the country " +"states." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" @@ -247,7 +280,7 @@ msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/pl.po b/hr_holidays_public/i18n/pl.po index 3da334b3..cb9d9aba 100644 --- a/hr_holidays_public/i18n/pl.po +++ b/hr_holidays_public/i18n/pl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_holidays_public -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,22 +12,27 @@ msgstr "" "PO-Revision-Date: 2017-03-03 03:37+0000\n" "Last-Translator: OCA Transbot , 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" -"Language: pl\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" +"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.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" -"

\n" -" Normally, you should not need to input anything in \n" -" optional fields and only need to click on the button \n" -" \"Create\"." +"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" +"

\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 @@ -52,8 +57,8 @@ msgid "Create" msgstr "" #. module: hr_holidays_public -#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public -#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" @@ -61,19 +66,19 @@ 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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard +#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" @@ -83,12 +88,12 @@ msgid "Date" msgstr "Data" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -102,10 +107,16 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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" @@ -114,31 +125,46 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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_holidays_public_next_year_wizard___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_line_write_uid #: 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_holidays_public_next_year_wizard_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_line_write_date #: 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_holidays_public_next_year_wizard_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,name:hr_holidays_public.model_hr_holidays +msgid "Leave" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +msgid "Leave Type" +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 @@ -146,7 +172,7 @@ msgid "Name" msgstr "Nazwa" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:40 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " @@ -161,8 +187,8 @@ 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_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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form #: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" @@ -179,7 +205,12 @@ msgid "Related States" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: model:ir.model,name:hr_holidays_public.model_resource_calendar +msgid "Resource Calendar" +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 " @@ -188,54 +219,57 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: 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: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.\"" +"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.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.
\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)." +"Use this wizard to create public holidays based on the\n" +" existing ones.
\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.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year +#: 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_holidays_public_next_year_wizard_year +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 #, python-format msgid "" -"You can't create duplicate public holiday per date %s and one of the country" -" states." +"You can't create duplicate public holiday per date %s and one of the country " +"states." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" @@ -247,7 +281,7 @@ msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/pt_BR.po b/hr_holidays_public/i18n/pt_BR.po index 6d52e1df..c9959323 100644 --- a/hr_holidays_public/i18n/pt_BR.po +++ b/hr_holidays_public/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_holidays_public -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -11,23 +11,27 @@ msgstr "" "POT-Creation-Date: 2017-03-03 03:37+0000\n" "PO-Revision-Date: 2017-03-03 03:37+0000\n" "Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\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" -"Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: hr_holidays_public #: model: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" -"

\n" -" Normally, you should not need to input anything in \n" -" optional fields and only need to click on the button \n" -" \"Create\"." +"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" +"

\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 @@ -52,8 +56,8 @@ msgid "Create" msgstr "" #. module: hr_holidays_public -#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public -#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" @@ -61,19 +65,19 @@ 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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard +#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" @@ -83,12 +87,12 @@ msgid "Date" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -102,10 +106,15 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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" @@ -114,31 +123,46 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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_holidays_public_next_year_wizard___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_line_write_uid #: 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_holidays_public_next_year_wizard_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_line_write_date #: 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_holidays_public_next_year_wizard_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,name:hr_holidays_public.model_hr_holidays +msgid "Leave" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +msgid "Leave Type" +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 @@ -146,7 +170,7 @@ msgid "Name" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:40 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " @@ -161,8 +185,8 @@ 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_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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form #: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" @@ -179,7 +203,12 @@ msgid "Related States" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: model:ir.model,name:hr_holidays_public.model_resource_calendar +msgid "Resource Calendar" +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 " @@ -188,54 +217,57 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: 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: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.\"" +"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.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.
\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)." +"Use this wizard to create public holidays based on the\n" +" existing ones.
\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.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year +#: 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_holidays_public_next_year_wizard_year +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 #, python-format msgid "" -"You can't create duplicate public holiday per date %s and one of the country" -" states." +"You can't create duplicate public holiday per date %s and one of the country " +"states." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" @@ -247,7 +279,7 @@ msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/ro.po b/hr_holidays_public/i18n/ro.po index 93b3e248..b26a0d85 100644 --- a/hr_holidays_public/i18n/ro.po +++ b/hr_holidays_public/i18n/ro.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_holidays_public -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,22 +12,26 @@ msgstr "" "PO-Revision-Date: 2017-03-03 03:37+0000\n" "Last-Translator: OCA Transbot , 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" -"Language: ro\n" -"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\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.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" -"

\n" -" Normally, you should not need to input anything in \n" -" optional fields and only need to click on the button \n" -" \"Create\"." +"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" +"

\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 @@ -52,8 +56,8 @@ msgid "Create" msgstr "" #. module: hr_holidays_public -#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public -#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" @@ -61,19 +65,19 @@ 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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard +#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" @@ -83,12 +87,12 @@ msgid "Date" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -102,10 +106,15 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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" @@ -114,31 +123,46 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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_holidays_public_next_year_wizard___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_line_write_uid #: 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_holidays_public_next_year_wizard_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_line_write_date #: 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_holidays_public_next_year_wizard_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,name:hr_holidays_public.model_hr_holidays +msgid "Leave" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +msgid "Leave Type" +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 @@ -146,7 +170,7 @@ msgid "Name" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:40 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " @@ -161,8 +185,8 @@ 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_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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form #: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" @@ -179,7 +203,12 @@ msgid "Related States" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: model:ir.model,name:hr_holidays_public.model_resource_calendar +msgid "Resource Calendar" +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 " @@ -188,54 +217,57 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: 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: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.\"" +"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.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.
\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)." +"Use this wizard to create public holidays based on the\n" +" existing ones.
\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.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year +#: 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_holidays_public_next_year_wizard_year +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 #, python-format msgid "" -"You can't create duplicate public holiday per date %s and one of the country" -" states." +"You can't create duplicate public holiday per date %s and one of the country " +"states." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" @@ -247,7 +279,7 @@ msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/sl.po b/hr_holidays_public/i18n/sl.po index 8a1da816..f65cd09f 100644 --- a/hr_holidays_public/i18n/sl.po +++ b/hr_holidays_public/i18n/sl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * hr_holidays_public -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,22 +12,26 @@ msgstr "" "PO-Revision-Date: 2017-03-03 03:37+0000\n" "Last-Translator: OCA Transbot , 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" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\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.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" -"

\n" -" Normally, you should not need to input anything in \n" -" optional fields and only need to click on the button \n" -" \"Create\"." +"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" +"

\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 @@ -52,8 +56,8 @@ msgid "Create" msgstr "" #. module: hr_holidays_public -#: model:ir.actions.act_window,name:hr_holidays_public.action_create_next_year_holidays_public -#: model:ir.ui.menu,name:hr_holidays_public.menu_create_next_year_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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create Next Year Public Holidays" msgstr "" @@ -61,19 +65,19 @@ 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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard_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_holidays_public_next_year_wizard +#: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard msgid "Creates public holidays from existing ones" msgstr "" @@ -83,12 +87,12 @@ msgid "Date" msgstr "Datum" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_variable +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:45 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -102,10 +106,16 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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" @@ -114,31 +124,46 @@ 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_holidays_public_next_year_wizard_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_holidays_status_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_holidays_public_next_year_wizard___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_line_write_uid #: 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_holidays_public_next_year_wizard_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_line_write_date #: 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_holidays_public_next_year_wizard_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,name:hr_holidays_public.model_hr_holidays +msgid "Leave" +msgstr "" + +#. module: hr_holidays_public +#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +msgid "Leave Type" +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 @@ -146,7 +171,7 @@ msgid "Name" msgstr "Naziv" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:41 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:40 #, python-format msgid "" "No Public Holidays found as template. Please create the first Public " @@ -161,8 +186,8 @@ 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_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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form #: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" @@ -179,7 +204,12 @@ msgid "Related States" msgstr "Povezane zvezne države" #. module: hr_holidays_public -#: model:ir.model.fields,help:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: model:ir.model,name:hr_holidays_public.model_resource_calendar +msgid "Resource Calendar" +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 " @@ -188,54 +218,57 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_template_ids +#: 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: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.\"" +"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.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.
\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)." +"Use this wizard to create public holidays based on the\n" +" existing ones.
\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.fields,field_description:hr_holidays_public.field_holidays_public_next_year_wizard_year +#: 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_holidays_public_next_year_wizard_year +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:57 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 #, python-format msgid "" -"You can't create duplicate public holiday per date %s and one of the country" -" states." +"You can't create duplicate public holiday per date %s and one of the country " +"states." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public_line.py:64 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" @@ -247,7 +280,7 @@ msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:79 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/models/hr_holidays.py b/hr_holidays_public/models/hr_holidays.py index fc7e904f..f8bd6d74 100644 --- a/hr_holidays_public/models/hr_holidays.py +++ b/hr_holidays_public/models/hr_holidays.py @@ -1,4 +1,3 @@ -# Copyright 2015 iDT LABS (http://www.@idtlabs.sl) # Copyright 2017-2018 Tecnativa - Pedro M. Baeza # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). diff --git a/hr_holidays_public/models/hr_holidays_status.py b/hr_holidays_public/models/hr_holidays_status.py index ac77f22d..78649e7e 100644 --- a/hr_holidays_public/models/hr_holidays_status.py +++ b/hr_holidays_public/models/hr_holidays_status.py @@ -1,4 +1,3 @@ -# Copyright 2015 iDT LABS (http://www.@idtlabs.sl) # Copyright 2017-2018 Tecnativa - Pedro M. Baeza # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). diff --git a/hr_holidays_public/tests/test_holidays_calculation.py b/hr_holidays_public/tests/test_holidays_calculation.py index 653eaa23..d849314e 100644 --- a/hr_holidays_public/tests/test_holidays_calculation.py +++ b/hr_holidays_public/tests/test_holidays_calculation.py @@ -121,13 +121,3 @@ def test_number_days_not_excluding(self): }) holidays._onchange_data_hr_holidays_public() self.assertEqual(holidays.number_of_days_temp, 5) - - def test_fractional_number_days(self): - holidays = self.HrHolidays.new({ - 'date_from': '1946-12-23 00:00:00', - 'date_to': '1946-12-23 14:00:00', - 'holiday_status_id': self.holiday_type.id, - 'employee_id': self.employee_1.id, - }) - holidays._onchange_data_hr_holidays_public() - self.assertAlmostEqual(holidays.number_of_days_temp, 0.5, 3) From bb7d7d64c1019b861c106fa0b4e96c2aa63676b6 Mon Sep 17 00:00:00 2001 From: Maria Sparenberg Date: Mon, 17 Dec 2018 15:07:27 +0000 Subject: [PATCH 06/76] Translated using Weblate (German) Currently translated at 52.5% (21 of 40 strings) Translation: hr-11.0/hr-11.0-hr_holidays_public Translate-URL: https://translation.odoo-community.org/projects/hr-11-0/hr-11-0-hr_holidays_public/de/ --- hr_holidays_public/i18n/de.po | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/hr_holidays_public/i18n/de.po b/hr_holidays_public/i18n/de.po index dddd7f3c..59855d10 100644 --- a/hr_holidays_public/i18n/de.po +++ b/hr_holidays_public/i18n/de.po @@ -9,14 +9,15 @@ 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 , 2016\n" +"PO-Revision-Date: 2018-12-18 13:07+0000\n" +"Last-Translator: Maria Sparenberg \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" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.3\n" #. module: hr_holidays_public #: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view @@ -42,7 +43,7 @@ msgstr "Kalenderjahr" #. module: hr_holidays_public #: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Cancel" -msgstr "" +msgstr "Abbrechen" #. module: hr_holidays_public #: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id @@ -73,7 +74,7 @@ msgstr "Erstellt von" #: 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 "Angelegt am" +msgstr "Erstellt am" #. module: hr_holidays_public #: model:ir.model,name:hr_holidays_public.model_public_holidays_next_year_wizard @@ -146,7 +147,7 @@ msgstr "Zuletzt geändert am" #: 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_public_holidays_next_year_wizard_write_uid msgid "Last Updated by" -msgstr "Zuletzt aktualisiert durch" +msgstr "Zuletzt aktualisiert von" #. module: hr_holidays_public #: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_write_date From fa3ff5dd63272166ed28ae24219cb1c61c0858b2 Mon Sep 17 00:00:00 2001 From: Alexey Pelykh Date: Sat, 22 Dec 2018 09:33:32 +0200 Subject: [PATCH 07/76] [MIG] hr_holidays_public: Migration to 12.0 --- hr_holidays_public/README.rst | 25 +++- hr_holidays_public/__init__.py | 2 + hr_holidays_public/__manifest__.py | 8 +- .../i18n/hr_holidays_public.pot | 109 +++++++++--------- hr_holidays_public/models/__init__.py | 8 +- hr_holidays_public/models/hr_holidays.py | 28 ----- .../models/hr_holidays_public.py | 87 +++++++------- .../models/hr_holidays_status.py | 15 --- hr_holidays_public/models/hr_leave.py | 24 ++++ hr_holidays_public/models/hr_leave_type.py | 18 +++ hr_holidays_public/models/resource.py | 47 -------- .../models/resource_calendar.py | 66 +++++++++++ hr_holidays_public/readme/CONTRIBUTORS.rst | 4 + hr_holidays_public/readme/ROADMAP.rst | 7 ++ .../static/description/index.html | 41 ++++--- hr_holidays_public/tests/__init__.py | 2 + .../tests/test_holidays_calculation.py | 29 ++--- .../tests/test_holidays_public.py | 43 ++++--- .../views/hr_holidays_status_views.xml | 15 --- hr_holidays_public/views/hr_leave_type.xml | 21 ++++ hr_holidays_public/wizards/__init__.py | 2 + .../holidays_public_next_year_wizard.py | 10 +- 22 files changed, 353 insertions(+), 258 deletions(-) delete mode 100644 hr_holidays_public/models/hr_holidays.py delete mode 100644 hr_holidays_public/models/hr_holidays_status.py create mode 100644 hr_holidays_public/models/hr_leave.py create mode 100644 hr_holidays_public/models/hr_leave_type.py delete mode 100644 hr_holidays_public/models/resource.py create mode 100644 hr_holidays_public/models/resource_calendar.py create mode 100644 hr_holidays_public/readme/ROADMAP.rst delete mode 100644 hr_holidays_public/views/hr_holidays_status_views.xml create mode 100644 hr_holidays_public/views/hr_leave_type.xml diff --git a/hr_holidays_public/README.rst b/hr_holidays_public/README.rst index a7580ed5..a832c348 100644 --- a/hr_holidays_public/README.rst +++ b/hr_holidays_public/README.rst @@ -14,13 +14,13 @@ HR Holidays Public :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-lightgray.png?logo=github - :target: https://github.com/OCA/hr/tree/11.0/hr_holidays_public + :target: https://github.com/OCA/hr/tree/12.0/hr_holidays_public :alt: OCA/hr .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/hr-11-0/hr-11-0-hr_holidays_public + :target: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_holidays_public :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/116/11.0 + :target: https://runbot.odoo-community.org/runbot/116/12.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -63,13 +63,24 @@ For using public holidays on leaves: #. If no employee is yet selected, only global holidays will be taken into account. +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. + Bug Tracker =========== Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -97,6 +108,10 @@ Contributors * Pedro M. Baeza +* `Brainbean Apps `__: + + * Alexey Pelykh + Maintainers ~~~~~~~~~~~ @@ -110,6 +125,6 @@ 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 `_ project on GitHub. +This module is part of the `OCA/hr `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/hr_holidays_public/__init__.py b/hr_holidays_public/__init__.py index aee8895e..adc6207f 100644 --- a/hr_holidays_public/__init__.py +++ b/hr_holidays_public/__init__.py @@ -1,2 +1,4 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + from . import models from . import wizards diff --git a/hr_holidays_public/__manifest__.py b/hr_holidays_public/__manifest__.py index ed8c9775..306714ba 100644 --- a/hr_holidays_public/__manifest__.py +++ b/hr_holidays_public/__manifest__.py @@ -1,9 +1,9 @@ -# © 2015 2011,2013 Michael Telahun Makonnen -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# Copyright 2015 2011,2013 Michael Telahun Makonnen +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { 'name': 'HR Holidays Public', - 'version': '11.0.1.0.0', + 'version': '12.0.1.0.0', 'license': 'AGPL-3', 'category': 'Human Resources', 'author': "Michael Telahun Makonnen, " @@ -18,7 +18,7 @@ 'data': [ 'security/ir.model.access.csv', 'views/hr_holidays_public_view.xml', - 'views/hr_holidays_status_views.xml', + 'views/hr_leave_type.xml', 'wizards/holidays_public_next_year_wizard.xml', ], 'installable': True, diff --git a/hr_holidays_public/i18n/hr_holidays_public.pot b/hr_holidays_public/i18n/hr_holidays_public.pot index 5efb7812..49926ad0 100644 --- a/hr_holidays_public/i18n/hr_holidays_public.pot +++ b/hr_holidays_public/i18n/hr_holidays_public.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -14,7 +14,7 @@ msgstr "" "Plural-Forms: \n" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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" @@ -25,44 +25,44 @@ msgid "By default, the most recent public holidays\n" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id -#: 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__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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id msgid "Country" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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 +#: 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 "" @@ -72,88 +72,88 @@ 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 +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:168 #, 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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_line_write_uid -#: 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_public_holidays_next_year_wizard_write_uid +#: 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_line_write_date -#: 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_public_holidays_next_year_wizard_write_date +#: 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,name:hr_holidays_public.model_hr_holidays +#: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" msgstr "" #. module: hr_holidays_public -#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +#: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" 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 +#: 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 "" @@ -164,7 +164,7 @@ msgid "No Public Holidays found as template. Please create the first Public Holi msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" @@ -173,8 +173,9 @@ msgstr "" #: 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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form -#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree +#: 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 +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "" @@ -184,27 +185,27 @@ 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 +#: 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 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 +#: 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 +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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" @@ -213,7 +214,7 @@ msgid "The below optional fields are here only to handle\n" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.
\n" " Only the last templates of each country\n" @@ -224,35 +225,35 @@ msgid "Use this wizard to create public holidays based on the\n" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_year +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 #, python-format msgid "You can't create duplicate public holiday per date %s and one of the country states." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 #, 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 "" diff --git a/hr_holidays_public/models/__init__.py b/hr_holidays_public/models/__init__.py index 322a89f5..31140b50 100644 --- a/hr_holidays_public/models/__init__.py +++ b/hr_holidays_public/models/__init__.py @@ -1,4 +1,6 @@ -from . import hr_holidays -from . import hr_holidays_status +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import hr_leave +from . import hr_leave_type from . import hr_holidays_public -from . import resource +from . import resource_calendar diff --git a/hr_holidays_public/models/hr_holidays.py b/hr_holidays_public/models/hr_holidays.py deleted file mode 100644 index f8bd6d74..00000000 --- a/hr_holidays_public/models/hr_holidays.py +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2017-2018 Tecnativa - Pedro M. Baeza -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from odoo import api, models - - -class HrHolidays(models.Model): - _inherit = 'hr.holidays' - - 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): - obj = self.with_context( - employee_id=employee_id, - exclude_public_holidays=True, - ) - else: - obj = self - return super(HrHolidays, obj)._get_number_of_days( - date_from, date_to, employee_id, - ) - - @api.onchange('employee_id', 'holiday_status_id') - def _onchange_data_hr_holidays_public(self): - """Trigger the number of days computation also when you change the - employee or the leave type. - """ - self._onchange_date_to() diff --git a/hr_holidays_public/models/hr_holidays_public.py b/hr_holidays_public/models/hr_holidays_public.py index d9ce1310..b3a499c6 100644 --- a/hr_holidays_public/models/hr_holidays_public.py +++ b/hr_holidays_public/models/hr_holidays_public.py @@ -1,26 +1,25 @@ -# © 2015 2011,2013 Michael Telahun Makonnen -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# Copyright 2015 2011,2013 Michael Telahun Makonnen +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from datetime import date from odoo import api, fields, models, _ -from odoo.exceptions import UserError +from odoo.exceptions import ValidationError class HrHolidaysPublic(models.Model): _name = 'hr.holidays.public' _description = 'Public Holidays' _rec_name = 'year' - _order = "year" + _order = 'year' display_name = fields.Char( - "Name", - compute="_compute_display_name", - readonly=True, + 'Name', + compute='_compute_display_name', store=True, ) year = fields.Integer( - "Calendar Year", + 'Calendar Year', required=True, default=date.today().year ) @@ -41,17 +40,14 @@ def _check_year(self): line._check_year_one() def _check_year_one(self): - if self.country_id: - domain = [('year', '=', self.year), - ('country_id', '=', self.country_id.id), - ('id', '!=', self.id)] - else: - domain = [('year', '=', self.year), - ('country_id', '=', False), - ('id', '!=', self.id)] - if self.search_count(domain): - raise UserError(_('You can\'t create duplicate public holiday ' - 'per year and/or country')) + 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.multi @@ -59,8 +55,10 @@ def _check_year_one(self): def _compute_display_name(self): for line in self: if line.country_id: - line.display_name = '%s (%s)' % (line.year, - line.country_id.name) + line.display_name = '%s (%s)' % ( + line.year, + line.country_id.name + ) else: line.display_name = line.year @@ -113,18 +111,16 @@ def get_holidays_list(self, year, employee_id=None): def is_public_holiday(self, selected_date, employee_id=None): """ Returns True if selected_date is a public holiday for the employee - :param selected_date: datetime object or string + :param selected_date: datetime object :param employee_id: ID of the employee :return: bool """ - if isinstance(selected_date, str): - selected_date = fields.Date.from_string(selected_date) holidays_lines = self.get_holidays_list( selected_date.year, employee_id=employee_id) if holidays_lines: hol_date = holidays_lines.filtered( - lambda r: r.date == fields.Date.to_string( - selected_date)) + lambda r: r.date == selected_date + ) if hol_date.ids: return True return False @@ -133,7 +129,7 @@ def is_public_holiday(self, selected_date, employee_id=None): class HrHolidaysPublicLine(models.Model): _name = 'hr.holidays.public.line' _description = 'Public Holidays Lines' - _order = "date, name desc" + _order = 'date, name desc' name = fields.Char( 'Name', @@ -148,8 +144,11 @@ class HrHolidaysPublicLine(models.Model): 'Calendar Year', required=True, ) - variable_date = fields.Boolean('Date may change', oldname='variable', - default=True) + variable_date = fields.Boolean( + 'Date may change', + oldname='variable', + default=True, + ) state_ids = fields.Many2many( 'res.country.state', 'hr_holiday_public_state_rel', @@ -165,29 +164,33 @@ def _check_date_state(self): line._check_date_state_one() def _check_date_state_one(self): - if fields.Date.from_string(self.date).year != self.year_id.year: - raise UserError(_( - 'Dates of holidays should be the same year ' - 'as the calendar year they are being assigned to' + 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 = [('date', '=', self.date), - ('year_id', '=', self.year_id.id), - ('state_ids', '!=', False), - ('id', '!=', self.id)] + domain = [ + ('date', '=', self.date), + ('year_id', '=', self.year_id.id), + ('state_ids', '!=', False), + ('id', '!=', self.id), + ] holidays = self.search(domain) for holiday in holidays: if self.state_ids & holiday.state_ids: - raise UserError(_('You can\'t create duplicate public ' - 'holiday per date %s and one of the ' - 'country states.') % self.date) + raise ValidationError(_( + 'You can\'t create duplicate public holiday per date' + ' %s and one of the country states.' + ) % self.date) domain = [('date', '=', self.date), ('year_id', '=', self.year_id.id), ('state_ids', '=', False)] if self.search_count(domain) > 1: - raise UserError(_('You can\'t create duplicate public holiday ' - 'per date %s.') % self.date) + raise ValidationError(_( + 'You can\'t create duplicate public holiday per date %s.' + ) % self.date) return True diff --git a/hr_holidays_public/models/hr_holidays_status.py b/hr_holidays_public/models/hr_holidays_status.py deleted file mode 100644 index 78649e7e..00000000 --- a/hr_holidays_public/models/hr_holidays_status.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2017-2018 Tecnativa - Pedro M. Baeza -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from odoo import fields, models - - -class HrHolidaysStatus(models.Model): - _inherit = 'hr.holidays.status' - - exclude_public_holidays = fields.Boolean( - string='Exclude Public Holidays', - default=True, - help="If enabled, public holidays are skipped in leave days " - "calculation.", - ) diff --git a/hr_holidays_public/models/hr_leave.py b/hr_holidays_public/models/hr_leave.py new file mode 100644 index 00000000..d58ef45c --- /dev/null +++ b/hr_holidays_public/models/hr_leave.py @@ -0,0 +1,24 @@ +# 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 models + + +class HrLeave(models.Model): + _inherit = 'hr.leave' + + 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, + ) diff --git a/hr_holidays_public/models/hr_leave_type.py b/hr_holidays_public/models/hr_leave_type.py new file mode 100644 index 00000000..14c05b63 --- /dev/null +++ b/hr_holidays_public/models/hr_leave_type.py @@ -0,0 +1,18 @@ +# 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( + string='Exclude Public Holidays', + default=True, + help=( + 'If enabled, public holidays are skipped in leave days' + ' calculation.' + ), + ) diff --git a/hr_holidays_public/models/resource.py b/hr_holidays_public/models/resource.py deleted file mode 100644 index f5282568..00000000 --- a/hr_holidays_public/models/resource.py +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2017-2018 Tecnativa - Pedro M. Baeza -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from odoo import api, fields, models -import datetime -from dateutil import rrule - - -class ResourceCalendar(models.Model): - _inherit = 'resource.calendar' - - def _get_holidays_public_leaves(self, start_dt, end_dt, employe_id): - """Get the public holidays for the current employee and given dates in - the format expected by resource methods. - - :param: start_dt: Initial datetime. - :param: end_dt: End datetime. - :param: employee_id: Employee ID. It can be false. - :return: List of tuples with (start_date, end_date) as elements. - """ - leaves = [] - for day in rrule.rrule(rrule.YEARLY, dtstart=start_dt, until=end_dt): - lines = self.env['hr.holidays.public'].get_holidays_list( - day.year, employee_id=employe_id, - ) - for line in lines: - date = fields.Datetime.from_string(line.date) - leaves.append( - (datetime.datetime.combine(date, datetime.time.min), - datetime.datetime.combine(date, datetime.time.max)), - ) - return leaves - - @api.multi - def _get_leave_intervals(self, resource_id=None, - start_datetime=None, end_datetime=None): - res = super(ResourceCalendar, self)._get_leave_intervals( - resource_id=resource_id, - start_datetime=start_datetime, - end_datetime=end_datetime, - ) - if self.env.context.get('exclude_public_holidays'): - res += self._get_holidays_public_leaves( - start_datetime, end_datetime, - self.env.context.get('employee_id', False), - ) - return res diff --git a/hr_holidays_public/models/resource_calendar.py b/hr_holidays_public/models/resource_calendar.py new file mode 100644 index 00000000..f153b2d2 --- /dev/null +++ b/hr_holidays_public/models/resource_calendar.py @@ -0,0 +1,66 @@ +# 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 api, models +from odoo.addons.resource.models.resource import Intervals + +from pytz import timezone +from datetime import datetime, time +from dateutil import rrule + + +class ResourceCalendar(models.Model): + _inherit = 'resource.calendar' + + def _public_holidays_leave_intervals(self, start_dt, end_dt, employee_id, + tz): + """Get the public holidays for the current employee and given dates in + the format expected by resource methods. + + :param: start_dt: Initial datetime. + :param: end_dt: End datetime. + :param: employee_id: Employee ID. It can be false. + :return: List of tuples with (start_date, end_date) as elements. + """ + HrHolidaysPublic = self.env['hr.holidays.public'] + + leaves = [] + for day in rrule.rrule(rrule.YEARLY, dtstart=start_dt, until=end_dt): + lines = HrHolidaysPublic.get_holidays_list( + day.year, employee_id=employee_id, + ) + for line in lines: + leaves.append( + ( + datetime.combine( + line.date, + time.min + ).replace(tzinfo=tz), + datetime.combine( + line.date, + time.max + ).replace(tzinfo=tz), + line + ), + ) + return Intervals(leaves) + + @api.multi + def _leave_intervals(self, start_dt, end_dt, resource=None, domain=None): + res = super()._leave_intervals( + start_dt=start_dt, + end_dt=end_dt, + resource=resource, + domain=domain, + ) + if self.env.context.get('exclude_public_holidays'): + tz = timezone((resource or self).tz) + public_holidays = self._public_holidays_leave_intervals( + start_dt, + end_dt, + self.env.context.get('employee_id', False), + tz + ) + res = res | public_holidays + return res diff --git a/hr_holidays_public/readme/CONTRIBUTORS.rst b/hr_holidays_public/readme/CONTRIBUTORS.rst index 97933f8d..4aa04a98 100644 --- a/hr_holidays_public/readme/CONTRIBUTORS.rst +++ b/hr_holidays_public/readme/CONTRIBUTORS.rst @@ -8,3 +8,7 @@ * `Tecnativa `__: * Pedro M. Baeza + +* `Brainbean Apps `__: + + * Alexey Pelykh diff --git a/hr_holidays_public/readme/ROADMAP.rst b/hr_holidays_public/readme/ROADMAP.rst new file mode 100644 index 00000000..c9f56cba --- /dev/null +++ b/hr_holidays_public/readme/ROADMAP.rst @@ -0,0 +1,7 @@ +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. diff --git a/hr_holidays_public/static/description/index.html b/hr_holidays_public/static/description/index.html index e4b65a1c..c887e8fa 100644 --- a/hr_holidays_public/static/description/index.html +++ b/hr_holidays_public/static/description/index.html @@ -367,7 +367,7 @@

HR Holidays Public

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/hr Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/hr Translate me on Weblate Try me on Runbot

This module is a technical module to handle public holidays.

The calculation of each leave can exclude rest public holiday, depending on the leave type configuration.

@@ -376,11 +376,12 @@

HR Holidays Public

+
+

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.

+
-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

  • Michael Telahun Makonnen
  • Tecnativa
  • @@ -432,7 +443,7 @@

    Authors

-

Contributors

+

Contributors

+
  • Brainbean Apps: +
  • -

    Maintainers

    +

    Maintainers

    This module is maintained by the OCA.

    Odoo Community Association

    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 project on GitHub.

    +

    This module is part of the OCA/hr project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    diff --git a/hr_holidays_public/tests/__init__.py b/hr_holidays_public/tests/__init__.py index 8b16ef2e..cd3e40a1 100644 --- a/hr_holidays_public/tests/__init__.py +++ b/hr_holidays_public/tests/__init__.py @@ -1,2 +1,4 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + from . import test_holidays_calculation from . import test_holidays_public diff --git a/hr_holidays_public/tests/test_holidays_calculation.py b/hr_holidays_public/tests/test_holidays_calculation.py index d849314e..803cee82 100644 --- a/hr_holidays_public/tests/test_holidays_calculation.py +++ b/hr_holidays_public/tests/test_holidays_calculation.py @@ -1,6 +1,7 @@ # Copyright 2015 iDT LABS (http://www.@idtlabs.sl) # Copyright 2017-2018 Tecnativa - Pedro M. Baeza -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# Copyright 2018 Brainbean Apps +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from odoo.tests import common @@ -12,7 +13,8 @@ class TestHolidaysComputeDaysBase(common.SavepointCase): @classmethod def setUpClass(cls): super(TestHolidaysComputeDaysBase, cls).setUpClass() - cls.HrHolidays = cls.env['hr.holidays'] + cls.HrLeave = cls.env['hr.leave'] + cls.HrLeaveType = cls.env['hr.leave.type'] cls.HrHolidaysPublic = cls.env["hr.holidays.public"] # Remove timezone for controlling data better cls.env.user.tz = False @@ -81,11 +83,12 @@ def setUpClass(cls): }), ], }) - cls.holiday_type = cls.env['hr.holidays.status'].create({ + + cls.holiday_type = cls.HrLeaveType.create({ 'name': 'Leave Type Test', 'exclude_public_holidays': True, }) - cls.holiday_type_no_excludes = cls.env['hr.holidays.status'].create({ + cls.holiday_type_no_excludes = cls.HrLeaveType.create({ 'name': 'Leave Type Test Without excludes', 'exclude_public_holidays': False, }) @@ -93,31 +96,31 @@ def setUpClass(cls): class TestHolidaysComputeDays(TestHolidaysComputeDaysBase): def test_number_days_excluding_employee_1(self): - holidays = self.HrHolidays.new({ + 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, }) - holidays._onchange_data_hr_holidays_public() - self.assertEqual(holidays.number_of_days_temp, 4) + leave_request._onchange_leave_dates() + self.assertEqual(leave_request.number_of_days, 4) def _test_number_days_excluding_employee_2(self): - holidays = self.HrHolidays.new({ + 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, }) - holidays._onchange_data_hr_holidays_public() - self.assertEqual(holidays.number_of_days_temp, 2) + leave_request._onchange_leave_dates() + self.assertEqual(leave_request.number_of_days, 2) def test_number_days_not_excluding(self): - holidays = self.HrHolidays.new({ + 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, }) - holidays._onchange_data_hr_holidays_public() - self.assertEqual(holidays.number_of_days_temp, 5) + leave_request._onchange_leave_dates() + self.assertEqual(leave_request.number_of_days, 5) diff --git a/hr_holidays_public/tests/test_holidays_public.py b/hr_holidays_public/tests/test_holidays_public.py index a422f1a9..08466f35 100644 --- a/hr_holidays_public/tests/test_holidays_public.py +++ b/hr_holidays_public/tests/test_holidays_public.py @@ -1,10 +1,13 @@ -# © 2015 Salton Massally -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# Copyright 2015 Salton Massally +# Copyright 2018 Brainbean Apps (https://brainbeanapps.com) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from odoo.exceptions import ValidationError -from odoo.exceptions import UserError from odoo.tests.common import TransactionCase +from odoo.exceptions import UserError, ValidationError + +from datetime import date + class TestHolidaysPublic(TransactionCase): at_install = False @@ -12,8 +15,8 @@ class TestHolidaysPublic(TransactionCase): def setUp(self): super(TestHolidaysPublic, self).setUp() - self.holiday_model = self.env["hr.holidays.public"] - self.holiday_model_line = self.env["hr.holidays.public.line"] + self.holiday_model = self.env['hr.holidays.public'] + self.holiday_model_line = self.env['hr.holidays.public.line'] self.employee_model = self.env['hr.employee'] self.wizard_next_year = self.env['public.holidays.next.year.wizard'] @@ -112,21 +115,29 @@ def test_duplicate_date_state_fail(self): 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('1995-12-10')) + 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('1995-10-14')) + 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( - '1994-11-14', employee_id=self.employee.id)) + 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( - '1994-10-14', employee_id=self.employee.id)) + 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 @@ -144,21 +155,27 @@ 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 == '1994-10-14') + 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 == '1995-10-14') + 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): self.wizard_next_year.new().create_public_holidays() lines = self.holiday_model.get_holidays_list(1996) - res = lines.filtered(lambda r: r.date == '1996-10-14') + res = lines.filtered( + lambda r: r.date == date(1996, 10, 14) + ) self.assertEqual(len(res), 1) self.assertEqual(len(lines), 3) diff --git a/hr_holidays_public/views/hr_holidays_status_views.xml b/hr_holidays_public/views/hr_holidays_status_views.xml deleted file mode 100644 index 031f47f3..00000000 --- a/hr_holidays_public/views/hr_holidays_status_views.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - hr.holidays.status.form - Add compute fields - hr.holidays.status - - - - - - - - - diff --git a/hr_holidays_public/views/hr_leave_type.xml b/hr_holidays_public/views/hr_leave_type.xml new file mode 100644 index 00000000..b64d2467 --- /dev/null +++ b/hr_holidays_public/views/hr_leave_type.xml @@ -0,0 +1,21 @@ + + + + + + hr.leave.type.form + hr.leave.type + + + + + + + + + + + diff --git a/hr_holidays_public/wizards/__init__.py b/hr_holidays_public/wizards/__init__.py index 31a61a1b..5b2df34b 100644 --- a/hr_holidays_public/wizards/__init__.py +++ b/hr_holidays_public/wizards/__init__.py @@ -1 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + from . import holidays_public_next_year_wizard diff --git a/hr_holidays_public/wizards/holidays_public_next_year_wizard.py b/hr_holidays_public/wizards/holidays_public_next_year_wizard.py index 6ff28206..d6230277 100644 --- a/hr_holidays_public/wizards/holidays_public_next_year_wizard.py +++ b/hr_holidays_public/wizards/holidays_public_next_year_wizard.py @@ -1,5 +1,5 @@ # Copyright 2016 Trobz -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). import logging @@ -65,11 +65,9 @@ def create_public_holidays(self): new_ph_ids.append(new_ph.id) for last_ph_line in last_ph.line_ids: - ph_line_date = fields.Date.from_string(last_ph_line.date) - feb_29 = ( - ph_line_date.month == 2 and - ph_line_date.day == 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 @@ -82,7 +80,7 @@ def create_public_holidays(self): '(2016, 2020...), please select a template from ' 'another year.')) - new_date = ph_line_date.replace(year=new_year) + new_date = last_ph_line.date.replace(year=new_year) new_ph_line_vals = { 'date': new_date, From 6a3a1e801c25d98ab8907e2db1a317971aac2fde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20V=C3=A1zquez=20Rodr=C3=ADguez?= Date: Fri, 8 Feb 2019 13:12:21 +0000 Subject: [PATCH 08/76] Translated using Weblate (Spanish) Currently translated at 55.0% (22 of 40 strings) Translation: hr-12.0/hr-12.0-hr_holidays_public Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_holidays_public/es/ --- hr_holidays_public/i18n/ar.po | 107 ++++++++++++++-------------- hr_holidays_public/i18n/de.po | 107 ++++++++++++++-------------- hr_holidays_public/i18n/es.po | 116 ++++++++++++++++--------------- hr_holidays_public/i18n/fi.po | 107 ++++++++++++++-------------- hr_holidays_public/i18n/fr.po | 107 ++++++++++++++-------------- hr_holidays_public/i18n/hr.po | 107 ++++++++++++++-------------- hr_holidays_public/i18n/hr_HR.po | 107 ++++++++++++++-------------- hr_holidays_public/i18n/it.po | 107 ++++++++++++++-------------- hr_holidays_public/i18n/nl_NL.po | 107 ++++++++++++++-------------- hr_holidays_public/i18n/pl.po | 107 ++++++++++++++-------------- hr_holidays_public/i18n/pt_BR.po | 107 ++++++++++++++-------------- hr_holidays_public/i18n/ro.po | 107 ++++++++++++++-------------- hr_holidays_public/i18n/sl.po | 107 ++++++++++++++-------------- 13 files changed, 707 insertions(+), 693 deletions(-) diff --git a/hr_holidays_public/i18n/ar.po b/hr_holidays_public/i18n/ar.po index ceafa67d..30af8519 100644 --- a/hr_holidays_public/i18n/ar.po +++ b/hr_holidays_public/i18n/ar.po @@ -21,7 +21,7 @@ msgstr "" "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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" @@ -36,44 +36,44 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id -#: 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__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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id msgid "Country" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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 +#: 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 "وقت الانشاء" @@ -83,17 +83,17 @@ 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 +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:168 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -101,72 +101,72 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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_line_write_uid -#: 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_public_holidays_next_year_wizard_write_uid +#: 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_line_write_date -#: 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_public_holidays_next_year_wizard_write_date +#: 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,name:hr_holidays_public.model_hr_holidays +#: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" msgstr "" #. module: hr_holidays_public -#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +#: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" 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 +#: 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 "" @@ -179,7 +179,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" @@ -188,8 +188,9 @@ msgstr "" #: 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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form -#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree +#: 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 +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "" @@ -199,17 +200,17 @@ 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 +#: 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 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 +#: 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 " @@ -218,12 +219,12 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_template_ids +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 " @@ -235,7 +236,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.
    \n" @@ -248,19 +249,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_year +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country " @@ -268,19 +269,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/de.po b/hr_holidays_public/i18n/de.po index 59855d10..d60eeb1b 100644 --- a/hr_holidays_public/i18n/de.po +++ b/hr_holidays_public/i18n/de.po @@ -20,7 +20,7 @@ msgstr "" "X-Generator: Weblate 3.3\n" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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" @@ -35,44 +35,44 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id -#: 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__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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id msgid "Country" msgstr "Land" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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 +#: 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" @@ -82,17 +82,17 @@ 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 +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:168 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -102,73 +102,73 @@ msgstr "" "zugewiesen werden" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays #, fuzzy msgid "Exclude Public Holidays" msgstr "Feiertage" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_ids +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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_line_write_uid -#: 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_public_holidays_next_year_wizard_write_uid +#: 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_line_write_date -#: 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_public_holidays_next_year_wizard_write_date +#: 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,name:hr_holidays_public.model_hr_holidays +#: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" msgstr "" #. module: hr_holidays_public -#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +#: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" 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 +#: 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" @@ -181,7 +181,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" @@ -190,8 +190,9 @@ msgstr "" #: 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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form -#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree +#: 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 +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Feiertage" @@ -201,17 +202,17 @@ 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 +#: 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 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 +#: 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 " @@ -220,12 +221,12 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_template_ids +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 " @@ -237,7 +238,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.
    \n" @@ -250,19 +251,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_year +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country " @@ -272,14 +273,14 @@ msgstr "" "Länder erstellen." #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" @@ -287,7 +288,7 @@ msgstr "" "erstellen." #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/es.po b/hr_holidays_public/i18n/es.po index d83e60ca..9d6d30ed 100644 --- a/hr_holidays_public/i18n/es.po +++ b/hr_holidays_public/i18n/es.po @@ -10,17 +10,18 @@ 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: José Antonio Cuello , 2017\n" +"PO-Revision-Date: 2019-02-08 15:50+0000\n" +"Last-Translator: Marta Vázquez Rodríguez \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" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.4\n" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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" @@ -35,44 +36,44 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id -#: 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__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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Create" -msgstr "" +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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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 +#: 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" @@ -82,17 +83,17 @@ 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 +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:168 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -102,73 +103,73 @@ msgstr "" "calendario al que están siendo asignadas." #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays #, fuzzy msgid "Exclude Public Holidays" msgstr "Vacaciones públicas" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_ids +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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_line_write_uid -#: 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_public_holidays_next_year_wizard_write_uid +#: 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_line_write_date -#: 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_public_holidays_next_year_wizard_write_date +#: 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,name:hr_holidays_public.model_hr_holidays +#: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" msgstr "" #. module: hr_holidays_public -#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +#: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" 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 +#: 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" @@ -181,7 +182,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" @@ -190,8 +191,9 @@ msgstr "" #: 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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form -#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree +#: 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 +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Vacaciones públicas" @@ -201,17 +203,17 @@ msgid "Public Holidays Lines" msgstr "Líneas de vacaciones públicas" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_state_ids +#: 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 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 +#: 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 " @@ -220,12 +222,12 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_template_ids +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 " @@ -237,7 +239,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.
    \n" @@ -250,19 +252,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_year +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country " @@ -272,19 +274,19 @@ msgstr "" "provincias." #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "No puede crear vacaciones públicas duplicadas para la fecha %s." #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "No puede crear vacaciones públicas duplicadas para el año y/o país." #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/fi.po b/hr_holidays_public/i18n/fi.po index 1b88a645..e0ac8f13 100644 --- a/hr_holidays_public/i18n/fi.po +++ b/hr_holidays_public/i18n/fi.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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" @@ -34,44 +34,44 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id -#: 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__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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id msgid "Country" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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 +#: 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" @@ -81,17 +81,17 @@ 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 +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:168 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -99,72 +99,72 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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_line_write_uid -#: 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_public_holidays_next_year_wizard_write_uid +#: 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_line_write_date -#: 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_public_holidays_next_year_wizard_write_date +#: 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,name:hr_holidays_public.model_hr_holidays +#: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" msgstr "" #. module: hr_holidays_public -#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +#: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" 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 +#: 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" @@ -177,7 +177,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" @@ -186,8 +186,9 @@ msgstr "" #: 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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form -#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree +#: 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 +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "" @@ -197,17 +198,17 @@ 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 +#: 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 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 +#: 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 " @@ -216,12 +217,12 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_template_ids +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 " @@ -233,7 +234,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.
    \n" @@ -246,19 +247,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_year +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country " @@ -266,19 +267,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/fr.po b/hr_holidays_public/i18n/fr.po index 3d25e374..c475f9af 100644 --- a/hr_holidays_public/i18n/fr.po +++ b/hr_holidays_public/i18n/fr.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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" @@ -35,44 +35,44 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id -#: 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__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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id msgid "Country" msgstr "Pays" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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 +#: 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" @@ -82,17 +82,17 @@ 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 +#: 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 +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__variable_date msgid "Date may change" msgstr "La Date peux cjanger" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:168 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -102,73 +102,73 @@ msgstr "" "auxquelles elles sont assignées" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_leave_type__exclude_public_holidays #, fuzzy msgid "Exclude Public Holidays" msgstr "Jours fériés" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_ids +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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_line_write_uid -#: 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_public_holidays_next_year_wizard_write_uid +#: 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_line_write_date -#: 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_public_holidays_next_year_wizard_write_date +#: 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,name:hr_holidays_public.model_hr_holidays +#: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" msgstr "" #. module: hr_holidays_public -#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +#: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" 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 +#: 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" @@ -181,7 +181,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" @@ -190,8 +190,9 @@ msgstr "" #: 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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form -#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree +#: 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 +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Jours fériés" @@ -201,17 +202,17 @@ 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 +#: 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 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 +#: 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 " @@ -220,12 +221,12 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_template_ids +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 " @@ -237,7 +238,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.
    \n" @@ -250,19 +251,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_year +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country " @@ -270,19 +271,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/hr.po b/hr_holidays_public/i18n/hr.po index e3608aba..0093c60f 100644 --- a/hr_holidays_public/i18n/hr.po +++ b/hr_holidays_public/i18n/hr.po @@ -20,7 +20,7 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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" @@ -35,44 +35,44 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id -#: 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__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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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 +#: 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" @@ -82,17 +82,17 @@ 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 +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:168 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -102,73 +102,73 @@ msgstr "" "kalendar" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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_line_write_uid -#: 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_public_holidays_next_year_wizard_write_uid +#: 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_line_write_date -#: 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_public_holidays_next_year_wizard_write_date +#: 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,name:hr_holidays_public.model_hr_holidays +#: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" msgstr "" #. module: hr_holidays_public -#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +#: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" 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 +#: 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" @@ -183,7 +183,7 @@ msgstr "" "praznik ručno." #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "Opcionalno" @@ -192,8 +192,9 @@ msgstr "Opcionalno" #: 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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form -#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree +#: 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 +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Državni praznici" @@ -203,17 +204,17 @@ 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 +#: 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 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 +#: 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 " @@ -222,12 +223,12 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_template_ids +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 " @@ -239,7 +240,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.
    \n" @@ -252,19 +253,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_year +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country " @@ -272,19 +273,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/hr_HR.po b/hr_holidays_public/i18n/hr_HR.po index 0bc8ea4a..8c67ad73 100644 --- a/hr_holidays_public/i18n/hr_HR.po +++ b/hr_holidays_public/i18n/hr_HR.po @@ -22,7 +22,7 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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" @@ -37,44 +37,44 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id -#: 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__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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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 +#: 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" @@ -84,17 +84,17 @@ 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 +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:168 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -104,73 +104,73 @@ msgstr "" "definirani" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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_line_write_uid -#: 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_public_holidays_next_year_wizard_write_uid +#: 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_line_write_date -#: 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_public_holidays_next_year_wizard_write_date +#: 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,name:hr_holidays_public.model_hr_holidays +#: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" msgstr "" #. module: hr_holidays_public -#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +#: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" 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 +#: 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" @@ -183,7 +183,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" @@ -192,8 +192,9 @@ msgstr "" #: 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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form -#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree +#: 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 +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Javni praznici" @@ -203,17 +204,17 @@ 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 +#: 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 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 +#: 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 " @@ -222,12 +223,12 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_template_ids +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 " @@ -239,7 +240,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.
    \n" @@ -252,19 +253,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_year +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country " @@ -272,19 +273,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/it.po b/hr_holidays_public/i18n/it.po index 3acbef39..b6160d03 100644 --- a/hr_holidays_public/i18n/it.po +++ b/hr_holidays_public/i18n/it.po @@ -19,7 +19,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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" @@ -34,44 +34,44 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id -#: 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__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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id msgid "Country" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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 +#: 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" @@ -81,17 +81,17 @@ 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 +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:168 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -99,72 +99,72 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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_line_write_uid -#: 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_public_holidays_next_year_wizard_write_uid +#: 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_line_write_date -#: 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_public_holidays_next_year_wizard_write_date +#: 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,name:hr_holidays_public.model_hr_holidays +#: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" msgstr "" #. module: hr_holidays_public -#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +#: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" 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 +#: 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" @@ -177,7 +177,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" @@ -186,8 +186,9 @@ msgstr "" #: 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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form -#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree +#: 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 +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "" @@ -197,17 +198,17 @@ 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 +#: 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 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 +#: 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 " @@ -216,12 +217,12 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_template_ids +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 " @@ -233,7 +234,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.
    \n" @@ -246,19 +247,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_year +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country " @@ -266,19 +267,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/nl_NL.po b/hr_holidays_public/i18n/nl_NL.po index 56b97335..d1807f80 100644 --- a/hr_holidays_public/i18n/nl_NL.po +++ b/hr_holidays_public/i18n/nl_NL.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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" @@ -35,44 +35,44 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id -#: 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__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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id msgid "Country" msgstr "Land" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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 +#: 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" @@ -82,17 +82,17 @@ 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 +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:168 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -100,73 +100,73 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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_line_write_uid -#: 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_public_holidays_next_year_wizard_write_uid +#: 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_line_write_date -#: 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_public_holidays_next_year_wizard_write_date +#: 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,name:hr_holidays_public.model_hr_holidays +#: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" msgstr "" #. module: hr_holidays_public -#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +#: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" 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 +#: 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" @@ -179,7 +179,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "Optioneel" @@ -188,8 +188,9 @@ msgstr "Optioneel" #: 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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form -#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree +#: 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 +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Feestdagen" @@ -199,17 +200,17 @@ 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 +#: 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 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 +#: 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 " @@ -218,12 +219,12 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_template_ids +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 " @@ -235,7 +236,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.
    \n" @@ -248,19 +249,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_year +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country " @@ -268,19 +269,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/pl.po b/hr_holidays_public/i18n/pl.po index cb9d9aba..ff31e363 100644 --- a/hr_holidays_public/i18n/pl.po +++ b/hr_holidays_public/i18n/pl.po @@ -21,7 +21,7 @@ msgstr "" "%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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" @@ -36,44 +36,44 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id -#: 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__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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id msgid "Country" msgstr "Kraj" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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 +#: 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 "" @@ -83,17 +83,17 @@ 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 +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:168 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -101,73 +101,73 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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_line_write_uid -#: 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_public_holidays_next_year_wizard_write_uid +#: 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_line_write_date -#: 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_public_holidays_next_year_wizard_write_date +#: 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,name:hr_holidays_public.model_hr_holidays +#: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" msgstr "" #. module: hr_holidays_public -#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +#: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" 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 +#: 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" @@ -180,7 +180,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" @@ -189,8 +189,9 @@ msgstr "" #: 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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form -#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree +#: 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 +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Dni wolne od pracy" @@ -200,17 +201,17 @@ 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 +#: 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 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 +#: 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 " @@ -219,12 +220,12 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_template_ids +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 " @@ -236,7 +237,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.
    \n" @@ -249,19 +250,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_year +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country " @@ -269,19 +270,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/pt_BR.po b/hr_holidays_public/i18n/pt_BR.po index c9959323..9c4f31ed 100644 --- a/hr_holidays_public/i18n/pt_BR.po +++ b/hr_holidays_public/i18n/pt_BR.po @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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" @@ -35,44 +35,44 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id -#: 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__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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id msgid "Country" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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 +#: 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" @@ -82,17 +82,17 @@ 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 +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:168 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -100,72 +100,72 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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_line_write_uid -#: 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_public_holidays_next_year_wizard_write_uid +#: 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_line_write_date -#: 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_public_holidays_next_year_wizard_write_date +#: 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,name:hr_holidays_public.model_hr_holidays +#: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" msgstr "" #. module: hr_holidays_public -#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +#: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" 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 +#: 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 "" @@ -178,7 +178,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" @@ -187,8 +187,9 @@ msgstr "" #: 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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form -#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree +#: 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 +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "" @@ -198,17 +199,17 @@ 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 +#: 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 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 +#: 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 " @@ -217,12 +218,12 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_template_ids +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 " @@ -234,7 +235,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.
    \n" @@ -247,19 +248,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_year +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country " @@ -267,19 +268,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/ro.po b/hr_holidays_public/i18n/ro.po index b26a0d85..7311e2fe 100644 --- a/hr_holidays_public/i18n/ro.po +++ b/hr_holidays_public/i18n/ro.po @@ -20,7 +20,7 @@ msgstr "" "2:1));\n" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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" @@ -35,44 +35,44 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id -#: 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__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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id +#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__country_id msgid "Country" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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 +#: 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" @@ -82,17 +82,17 @@ 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 +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:168 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -100,72 +100,72 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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_line_write_uid -#: 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_public_holidays_next_year_wizard_write_uid +#: 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_line_write_date -#: 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_public_holidays_next_year_wizard_write_date +#: 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,name:hr_holidays_public.model_hr_holidays +#: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" msgstr "" #. module: hr_holidays_public -#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +#: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" 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 +#: 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 "" @@ -178,7 +178,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" @@ -187,8 +187,9 @@ msgstr "" #: 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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form -#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree +#: 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 +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "" @@ -198,17 +199,17 @@ 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 +#: 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 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 +#: 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 " @@ -217,12 +218,12 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_template_ids +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 " @@ -234,7 +235,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.
    \n" @@ -247,19 +248,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_year +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country " @@ -267,19 +268,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " diff --git a/hr_holidays_public/i18n/sl.po b/hr_holidays_public/i18n/sl.po index f65cd09f..7949f141 100644 --- a/hr_holidays_public/i18n/sl.po +++ b/hr_holidays_public/i18n/sl.po @@ -20,7 +20,7 @@ msgstr "" "%100==4 ? 2 : 3);\n" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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" @@ -35,44 +35,44 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line_year_id -#: 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__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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.fields,field_description:hr_holidays_public.field_hr_holidays_public_country_id +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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 +#: 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" @@ -82,17 +82,17 @@ 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 +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:169 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:168 #, python-format msgid "" "Dates of holidays should be the same year as the calendar year they are " @@ -100,73 +100,73 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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 +#: 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_holidays_status_exclude_public_holidays +#: 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 +#: 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_line_write_uid -#: 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_public_holidays_next_year_wizard_write_uid +#: 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_line_write_date -#: 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_public_holidays_next_year_wizard_write_date +#: 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,name:hr_holidays_public.model_hr_holidays +#: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" msgstr "" #. module: hr_holidays_public -#: model:ir.model,name:hr_holidays_public.model_hr_holidays_status +#: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" 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 +#: 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" @@ -179,7 +179,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Optional" msgstr "" @@ -188,8 +188,9 @@ msgstr "" #: 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:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form -#: model:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree +#: 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 +#: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" msgstr "Javni prazniki" @@ -199,17 +200,17 @@ 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 +#: 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 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 +#: 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 " @@ -218,12 +219,12 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_template_ids +#: 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:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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 " @@ -235,7 +236,7 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view +#: 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.
    \n" @@ -248,19 +249,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: model:ir.model.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard_year +#: 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 +#: 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 -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:184 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 #, python-format msgid "" "You can't create duplicate public holiday per date %s and one of the country " @@ -268,19 +269,19 @@ msgid "" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:191 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, python-format msgid "You can't create duplicate public holiday per date %s." msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/models/hr_holidays_public.py:53 +#: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" msgstr "" #. module: hr_holidays_public -#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:78 +#: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 #, python-format msgid "" "You cannot use as template the public holidays of a year that includes " From 946dd2cdf9b7b905a2f5e84aeb99aaa2b3ad9657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Allard?= Date: Thu, 23 May 2019 19:40:38 +0000 Subject: [PATCH 09/76] Translated using Weblate (French) Currently translated at 95.0% (38 of 40 strings) Translation: hr-12.0/hr-12.0-hr_holidays_public Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_holidays_public/fr/ --- hr_holidays_public/i18n/fr.po | 76 +++++++++++++++++++++++++++-------- 1 file changed, 59 insertions(+), 17 deletions(-) diff --git a/hr_holidays_public/i18n/fr.po b/hr_holidays_public/i18n/fr.po index c475f9af..bf1f50d4 100644 --- a/hr_holidays_public/i18n/fr.po +++ b/hr_holidays_public/i18n/fr.po @@ -10,17 +10,19 @@ 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: leemannd , 2017\n" +"PO-Revision-Date: 2019-05-23 20:19+0000\n" +"Last-Translator: Kévin Allard \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" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 3.6.1\n" #. 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" @@ -33,6 +35,16 @@ msgid "" "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" +"                            

    \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 @@ -53,14 +65,14 @@ 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 "" +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 "" +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 @@ -79,7 +91,7 @@ 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 "" +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 @@ -89,7 +101,7 @@ 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 peux cjanger" +msgstr "La date peut changer" #. module: hr_holidays_public #: code:addons/hr_holidays_public/models/hr_holidays_public.py:168 @@ -104,7 +116,7 @@ msgstr "" #. module: hr_holidays_public #: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" -msgstr "" +msgstr "Défauts" #. module: hr_holidays_public #: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name @@ -114,9 +126,8 @@ msgstr "Nom affiché" #. 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 "Jours fériés" +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 @@ -134,6 +145,7 @@ msgstr "ID" #: 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 @@ -159,12 +171,12 @@ msgstr "Mis-à-jour le" #. module: hr_holidays_public #: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" -msgstr "" +msgstr "Congé" #. module: hr_holidays_public #: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" -msgstr "" +msgstr "Type de congé" #. module: hr_holidays_public #: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name @@ -179,11 +191,13 @@ 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 "" +msgstr "Optionnel" #. module: hr_holidays_public #: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view @@ -219,11 +233,16 @@ msgid "" "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 "" +msgstr "Modèles" #. module: hr_holidays_public #: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view @@ -236,6 +255,14 @@ msgid "" "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_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view @@ -249,11 +276,19 @@ msgid "" " 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.
    \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.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year msgid "Year" -msgstr "" +msgstr "Année" #. module: hr_holidays_public #: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year @@ -261,6 +296,8 @@ 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 #: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 @@ -269,18 +306,20 @@ 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 l’un des " +"états du pays." #. module: hr_holidays_public #: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, python-format msgid "You can't create duplicate public holiday per date %s." -msgstr "" +msgstr "Vous ne pouvez dupliquer ce jour férié par date %s." #. module: hr_holidays_public #: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" -msgstr "" +msgstr "Vous ne pouvez pas créer de double jour férié par an et/ou par pays" #. module: hr_holidays_public #: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 @@ -290,3 +329,6 @@ msgid "" "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." From 05e7c3ab54ea17f827165463d1963f42c49b2e47 Mon Sep 17 00:00:00 2001 From: Jaime Arroyo Date: Wed, 26 Jun 2019 15:46:55 +0000 Subject: [PATCH 10/76] Translated using Weblate (Spanish) Currently translated at 92.5% (37 of 40 strings) Translation: hr-12.0/hr-12.0-hr_holidays_public Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_holidays_public/es/ --- hr_holidays_public/i18n/es.po | 55 +++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 19 deletions(-) diff --git a/hr_holidays_public/i18n/es.po b/hr_holidays_public/i18n/es.po index 9d6d30ed..1f2afffb 100644 --- a/hr_holidays_public/i18n/es.po +++ b/hr_holidays_public/i18n/es.po @@ -10,15 +10,15 @@ 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-02-08 15:50+0000\n" -"Last-Translator: Marta Vázquez Rodríguez \n" +"PO-Revision-Date: 2019-06-26 18:42+0000\n" +"Last-Translator: Jaime Arroyo \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 3.4\n" +"X-Generator: Weblate 3.6.1\n" #. module: hr_holidays_public #: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view @@ -61,7 +61,7 @@ msgstr "Crear" #: 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 "" +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 @@ -80,7 +80,7 @@ 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 "" +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 @@ -105,7 +105,7 @@ msgstr "" #. module: hr_holidays_public #: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" -msgstr "" +msgstr "Por defecto" #. module: hr_holidays_public #: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name @@ -115,9 +115,8 @@ msgstr "Mostrar nombre" #. 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 "Vacaciones públicas" +msgstr "Excluir Festivos" #. module: hr_holidays_public #: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids @@ -135,6 +134,8 @@ msgstr "ID" #: 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 @@ -160,12 +161,12 @@ msgstr "Última actualización en" #. module: hr_holidays_public #: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" -msgstr "" +msgstr "Ausencia" #. module: hr_holidays_public #: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" -msgstr "" +msgstr "Tipo de Ausencia" #. module: hr_holidays_public #: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name @@ -180,11 +181,13 @@ 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 "" +msgstr "Opcional" #. module: hr_holidays_public #: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view @@ -195,12 +198,12 @@ msgstr "" #: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_form #: model_terms:ir.ui.view,arch_db:hr_holidays_public.view_holidays_public_tree msgid "Public Holidays" -msgstr "Vacaciones públicas" +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 vacaciones públicas" +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 @@ -220,11 +223,15 @@ msgid "" "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 "" +msgstr "Plantillas" #. module: hr_holidays_public #: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view @@ -250,11 +257,18 @@ msgid "" " 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.
    \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.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year msgid "Year" -msgstr "" +msgstr "Año" #. module: hr_holidays_public #: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year @@ -262,6 +276,8 @@ 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 #: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 @@ -270,20 +286,19 @@ msgid "" "You can't create duplicate public holiday per date %s and one of the country " "states." msgstr "" -"No puede crear vacaciones públicas duplicadas para la fecha %s y una de las " -"provincias." +"No puede crear festivos duplicados para la fecha %s y una de las provincias." #. module: hr_holidays_public #: code:addons/hr_holidays_public/models/hr_holidays_public.py:193 #, python-format msgid "You can't create duplicate public holiday per date %s." -msgstr "No puede crear vacaciones públicas duplicadas para la fecha %s." +msgstr "No puede festivos duplicados para la fecha %s." #. module: hr_holidays_public #: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, python-format msgid "You can't create duplicate public holiday per year and/or country" -msgstr "No puede crear vacaciones públicas duplicadas para el año y/o país." +msgstr "No puede crear festivos duplicados para el año y/o país." #. module: hr_holidays_public #: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 @@ -293,3 +308,5 @@ msgid "" "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." From 699ee5eef6fce9043a118e67e91a501902b6eb79 Mon Sep 17 00:00:00 2001 From: Maria Sparenberg Date: Fri, 28 Jun 2019 12:53:23 +0000 Subject: [PATCH 11/76] Translated using Weblate (German) Currently translated at 92.5% (37 of 40 strings) Translation: hr-12.0/hr-12.0-hr_holidays_public Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_holidays_public/de/ --- hr_holidays_public/i18n/de.po | 68 +++++++++++++++++++++++++++-------- 1 file changed, 54 insertions(+), 14 deletions(-) diff --git a/hr_holidays_public/i18n/de.po b/hr_holidays_public/i18n/de.po index d60eeb1b..24949511 100644 --- a/hr_holidays_public/i18n/de.po +++ b/hr_holidays_public/i18n/de.po @@ -9,7 +9,7 @@ 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: 2018-12-18 13:07+0000\n" +"PO-Revision-Date: 2019-07-09 13:43+0000\n" "Last-Translator: Maria Sparenberg \n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" "Language: de\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.3\n" +"X-Generator: Weblate 3.7.1\n" #. module: hr_holidays_public #: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view @@ -33,6 +33,15 @@ msgid "" "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" +"

    \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 @@ -53,14 +62,14 @@ 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 "" +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 "" +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 @@ -79,7 +88,7 @@ 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 "" +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 @@ -104,7 +113,7 @@ msgstr "" #. module: hr_holidays_public #: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view msgid "Defaults" -msgstr "" +msgstr "Standards" #. module: hr_holidays_public #: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public_line__display_name @@ -114,9 +123,8 @@ msgstr "Anzeigename" #. 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 "Feiertage" +msgstr "Feiertage ausschließen" #. module: hr_holidays_public #: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__line_ids @@ -134,6 +142,8 @@ msgstr "ID" #: 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 @@ -159,12 +169,12 @@ msgstr "Zuletzt aktualisiert am" #. module: hr_holidays_public #: model:ir.model,name:hr_holidays_public.model_hr_leave msgid "Leave" -msgstr "" +msgstr "Urlaub" #. module: hr_holidays_public #: model:ir.model,name:hr_holidays_public.model_hr_leave_type msgid "Leave Type" -msgstr "" +msgstr "Urlaubstyp" #. module: hr_holidays_public #: model:ir.model.fields,field_description:hr_holidays_public.field_hr_holidays_public__display_name @@ -179,11 +189,13 @@ 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 "" +msgstr "Optional" #. module: hr_holidays_public #: model:ir.actions.act_window,name:hr_holidays_public.open_holidays_public_view @@ -209,7 +221,7 @@ msgstr "Verwandte Staaten" #. module: hr_holidays_public #: model:ir.model,name:hr_holidays_public.model_resource_calendar msgid "Resource Working Time" -msgstr "" +msgstr "Arbeitszeit der Ressource" #. module: hr_holidays_public #: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids @@ -219,11 +231,16 @@ msgid "" "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 "" +msgstr "Vorlagen" #. module: hr_holidays_public #: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view @@ -236,6 +253,14 @@ msgid "" "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_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view @@ -249,11 +274,20 @@ msgid "" " 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.
    \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.fields,field_description:hr_holidays_public.field_public_holidays_next_year_wizard__year msgid "Year" -msgstr "" +msgstr "Jahr" #. module: hr_holidays_public #: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__year @@ -261,6 +295,9 @@ 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 #: code:addons/hr_holidays_public/models/hr_holidays_public.py:185 @@ -295,3 +332,6 @@ msgid "" "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." From eb6cf6b080e771c2192e627e6aadcf50538f49a1 Mon Sep 17 00:00:00 2001 From: Jaime Arroyo Date: Tue, 23 Jul 2019 08:54:34 +0000 Subject: [PATCH 12/76] Translated using Weblate (Spanish) Currently translated at 100.0% (40 of 40 strings) Translation: hr-12.0/hr-12.0-hr_holidays_public Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_holidays_public/es/ --- hr_holidays_public/i18n/es.po | 19 ++++++++++++++----- .../static/description/index.html | 2 +- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/hr_holidays_public/i18n/es.po b/hr_holidays_public/i18n/es.po index 1f2afffb..452175ca 100644 --- a/hr_holidays_public/i18n/es.po +++ b/hr_holidays_public/i18n/es.po @@ -10,7 +10,7 @@ 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-06-26 18:42+0000\n" +"PO-Revision-Date: 2019-07-23 11:43+0000\n" "Last-Translator: Jaime Arroyo \n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "Language: es\n" @@ -18,7 +18,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.6.1\n" +"X-Generator: Weblate 3.7.1\n" #. module: hr_holidays_public #: model_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view @@ -34,6 +34,11 @@ msgid "" "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" +"

    \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 @@ -100,7 +105,7 @@ msgid "" "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." +"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 @@ -213,7 +218,7 @@ msgstr "Provincias relacionadas" #. module: hr_holidays_public #: model:ir.model,name:hr_holidays_public.model_resource_calendar msgid "Resource Working Time" -msgstr "" +msgstr "Horario de Trabajo" #. module: hr_holidays_public #: model:ir.model.fields,help:hr_holidays_public.field_public_holidays_next_year_wizard__template_ids @@ -244,6 +249,10 @@ msgid "" "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_terms:ir.ui.view,arch_db:hr_holidays_public.holidays_public_next_year_wizard_view @@ -298,7 +307,7 @@ msgstr "No puede festivos duplicados para la fecha %s." #: code:addons/hr_holidays_public/models/hr_holidays_public.py:47 #, 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." +msgstr "No puede crear festivos duplicados para el año y/o país" #. module: hr_holidays_public #: code:addons/hr_holidays_public/wizards/holidays_public_next_year_wizard.py:76 diff --git a/hr_holidays_public/static/description/index.html b/hr_holidays_public/static/description/index.html index c887e8fa..fce8c42f 100644 --- a/hr_holidays_public/static/description/index.html +++ b/hr_holidays_public/static/description/index.html @@ -3,7 +3,7 @@ - + HR Holidays Public