From fe0a1c19ae50972f12d9f884c508ae9f53643922 Mon Sep 17 00:00:00 2001 From: Antoni Marroig Campomar Date: Fri, 17 Nov 2023 10:37:24 +0100 Subject: [PATCH] [MIG] hr_holidays_settings: Migration to 17.0 --- hr_holidays_settings/README.rst | 41 +++++++------ hr_holidays_settings/__manifest__.py | 2 +- hr_holidays_settings/i18n/es.po | 61 ++++--------------- hr_holidays_settings/pyproject.toml | 3 + hr_holidays_settings/readme/CONTRIBUTORS.md | 9 +++ hr_holidays_settings/readme/CONTRIBUTORS.rst | 8 --- hr_holidays_settings/readme/DESCRIPTION.md | 3 + hr_holidays_settings/readme/DESCRIPTION.rst | 2 - hr_holidays_settings/readme/USAGE.md | 3 + hr_holidays_settings/readme/USAGE.rst | 3 - .../static/description/index.html | 15 +++-- .../views/res_config_settings.xml | 18 +++--- 12 files changed, 71 insertions(+), 97 deletions(-) create mode 100644 hr_holidays_settings/pyproject.toml create mode 100644 hr_holidays_settings/readme/CONTRIBUTORS.md delete mode 100644 hr_holidays_settings/readme/CONTRIBUTORS.rst create mode 100644 hr_holidays_settings/readme/DESCRIPTION.md delete mode 100644 hr_holidays_settings/readme/DESCRIPTION.rst create mode 100644 hr_holidays_settings/readme/USAGE.md delete mode 100644 hr_holidays_settings/readme/USAGE.rst diff --git a/hr_holidays_settings/README.rst b/hr_holidays_settings/README.rst index c6806c648ac..afbb47424e1 100644 --- a/hr_holidays_settings/README.rst +++ b/hr_holidays_settings/README.rst @@ -17,19 +17,20 @@ HR Holidays Settings :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/16.0/hr_holidays_settings + :target: https://github.com/OCA/hr/tree/17.0/hr_holidays_settings :alt: OCA/hr .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_holidays_settings + :target: https://translation.odoo-community.org/projects/hr-17-0/hr-17-0-hr_holidays_settings :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/hr&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/hr&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module adds a Settings form in the menu of Leaves (HR Holidays module). -This settings are empty by default but enable other modules to be able to extend it. +This module adds a Settings form in the menu of Leaves (HR Holidays +module). This settings are empty by default but enable other modules to +be able to extend it. **Table of contents** @@ -41,7 +42,7 @@ Usage To use this module, you need to: -#. Go to *Leaves > Configuration > Settings*. +1. Go to *Leaves > Configuration > Settings*. Bug Tracker =========== @@ -49,7 +50,7 @@ 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 to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -57,24 +58,28 @@ Credits ======= Authors -~~~~~~~ +------- * ForgeFlow Contributors -~~~~~~~~~~~~ +------------ -* Miquel Raïch -* Andrea Stirpe -* Dennis Sluijk -* Anand Kansagra -* `CorporateHub `__ +- Miquel Raïch +- Andrea Stirpe +- Dennis Sluijk +- Anand Kansagra +- `CorporateHub `__ - * Alexey Pelykh -* Juany Davila + - Alexey Pelykh + +- Juany Davila +- [APSL](https://apsl.tech): + + - Antoni Marroig Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -86,6 +91,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_settings/__manifest__.py b/hr_holidays_settings/__manifest__.py index 54bffc2d167..594e5b7b31b 100644 --- a/hr_holidays_settings/__manifest__.py +++ b/hr_holidays_settings/__manifest__.py @@ -3,7 +3,7 @@ { "name": "HR Holidays Settings", "summary": "Enables Settings Form for HR Holidays.", - "version": "16.0.1.0.0", + "version": "17.0.1.0.0", "category": "Human Resources", "website": "https://github.com/OCA/hr", "author": "ForgeFlow, Odoo Community Association (OCA)", diff --git a/hr_holidays_settings/i18n/es.po b/hr_holidays_settings/i18n/es.po index 663812c19de..c16f942527a 100644 --- a/hr_holidays_settings/i18n/es.po +++ b/hr_holidays_settings/i18n/es.po @@ -1,24 +1,19 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_holidays_settings +# * hr_holidays_settings # -# Translators: -# José Antonio Cuello , 2017 -# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 17.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-11-28 01:44+0000\n" -"PO-Revision-Date: 2019-02-01 16:03+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" +"POT-Creation-Date: 2023-11-17 09:12+0000\n" +"PO-Revision-Date: 2023-11-17 09:12+0000\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: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.4\n" +"Plural-Forms: \n" #. module: hr_holidays_settings #: model:ir.actions.act_window,name:hr_holidays_settings.hr_holidays_config_settings_action @@ -30,44 +25,12 @@ msgstr "Configurar Vacaciones RRHH" msgid "Leaves Management" msgstr "Gestión de Ausencias" +#. module: hr_holidays_settings +#: model_terms:ir.ui.view,arch_db:hr_holidays_settings.res_config_settings_view_form +msgid "Leaves management" +msgstr "Gestión de Ausencias" + #. module: hr_holidays_settings #: model:ir.ui.menu,name:hr_holidays_settings.menu_hr_holidays_global_settings msgid "Settings" msgstr "Configuración" - -#~ msgid "Leave Types" -#~ msgstr "Tipos de Ausencia" - -#~ msgid "" -#~ "(*) This configuration is related to the company you're logged into." -#~ "" -#~ msgstr "" -#~ "(*) Esta configuración es relativa a la compañía donde estas " -#~ "conectado." - -#~ msgid "Cancel" -#~ msgstr "Cancelar" - -#~ msgid "Company" -#~ msgstr "Compañía" - -#~ msgid "Created by" -#~ msgstr "Creado por" - -#~ msgid "Created on" -#~ msgstr "Creado el" - -#~ msgid "Display Name" -#~ msgstr "Mostrar nombre" - -#~ msgid "ID" -#~ msgstr "ID" - -#~ msgid "Last Modified on" -#~ msgstr "Última modificación el" - -#~ msgid "Last Updated by" -#~ msgstr "Última actualización por" - -#~ msgid "Last Updated on" -#~ msgstr "Última actualización el" diff --git a/hr_holidays_settings/pyproject.toml b/hr_holidays_settings/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/hr_holidays_settings/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/hr_holidays_settings/readme/CONTRIBUTORS.md b/hr_holidays_settings/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..35e1234ea54 --- /dev/null +++ b/hr_holidays_settings/readme/CONTRIBUTORS.md @@ -0,0 +1,9 @@ +- Miquel Raïch \<\> +- Andrea Stirpe \<\> +- Dennis Sluijk \<\> +- Anand Kansagra \<\> +- [CorporateHub](https://corporatehub.eu/) + - Alexey Pelykh \<\> +- Juany Davila \<\> +- \[APSL\](): + - Antoni Marroig \<\> diff --git a/hr_holidays_settings/readme/CONTRIBUTORS.rst b/hr_holidays_settings/readme/CONTRIBUTORS.rst deleted file mode 100644 index 2bcd54d2d3c..00000000000 --- a/hr_holidays_settings/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,8 +0,0 @@ -* Miquel Raïch -* Andrea Stirpe -* Dennis Sluijk -* Anand Kansagra -* `CorporateHub `__ - - * Alexey Pelykh -* Juany Davila diff --git a/hr_holidays_settings/readme/DESCRIPTION.md b/hr_holidays_settings/readme/DESCRIPTION.md new file mode 100644 index 00000000000..87a76dedab4 --- /dev/null +++ b/hr_holidays_settings/readme/DESCRIPTION.md @@ -0,0 +1,3 @@ +This module adds a Settings form in the menu of Leaves (HR Holidays +module). This settings are empty by default but enable other modules to +be able to extend it. diff --git a/hr_holidays_settings/readme/DESCRIPTION.rst b/hr_holidays_settings/readme/DESCRIPTION.rst deleted file mode 100644 index 598eff4e61f..00000000000 --- a/hr_holidays_settings/readme/DESCRIPTION.rst +++ /dev/null @@ -1,2 +0,0 @@ -This module adds a Settings form in the menu of Leaves (HR Holidays module). -This settings are empty by default but enable other modules to be able to extend it. diff --git a/hr_holidays_settings/readme/USAGE.md b/hr_holidays_settings/readme/USAGE.md new file mode 100644 index 00000000000..9d481ba29a6 --- /dev/null +++ b/hr_holidays_settings/readme/USAGE.md @@ -0,0 +1,3 @@ +To use this module, you need to: + +1. Go to *Leaves \> Configuration \> Settings*. diff --git a/hr_holidays_settings/readme/USAGE.rst b/hr_holidays_settings/readme/USAGE.rst deleted file mode 100644 index 3b2f672362f..00000000000 --- a/hr_holidays_settings/readme/USAGE.rst +++ /dev/null @@ -1,3 +0,0 @@ -To use this module, you need to: - -#. Go to *Leaves > Configuration > Settings*. diff --git a/hr_holidays_settings/static/description/index.html b/hr_holidays_settings/static/description/index.html index 88999f26678..aae54c04a2e 100644 --- a/hr_holidays_settings/static/description/index.html +++ b/hr_holidays_settings/static/description/index.html @@ -369,9 +369,10 @@

HR Holidays Settings

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:0a821902a0897fe908d76e68ccd789cca8b064660182e253584e8416f4072d2f !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

-

This module adds a Settings form in the menu of Leaves (HR Holidays module). -This settings are empty by default but enable other modules to be able to extend it.

+

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

+

This module adds a Settings form in the menu of Leaves (HR Holidays +module). This settings are empty by default but enable other modules to +be able to extend it.

Table of contents

    @@ -397,7 +398,7 @@

    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 to smash it by providing a detailed and welcomed -feedback.

    +feedback.

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

@@ -420,6 +421,10 @@

Contributors

  • Juany Davila <juany.davila@forgeflow.com>
  • +
  • [APSL](https://apsl.tech): +
  • @@ -429,7 +434,7 @@

    Maintainers

    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_settings/views/res_config_settings.xml b/hr_holidays_settings/views/res_config_settings.xml index c49dcbdd374..58f28ebf3e9 100644 --- a/hr_holidays_settings/views/res_config_settings.xml +++ b/hr_holidays_settings/views/res_config_settings.xml @@ -5,20 +5,16 @@ res.config.settings - -
    + -

    Leaves Management

    -
    -
    + + +