Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0] [MIG] hr_timesheet_sheet_policy_department_manager: Migration to 15.0 #716

Draft
wants to merge 21 commits into
base: 15.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
898a8d9
[ADD] hr_timesheet_sheet: policies
alexey-pelykh Nov 12, 2019
3527138
[FIX] hr_timesheet_sheet_policy*: admin always reviewer
astirpe Dec 23, 2019
ed7c21d
[ADD] hr_timesheet_sheet_activity: automatic activities
alexey-pelykh Feb 6, 2020
9270ed1
Added translation using Weblate (Spanish)
josepmy May 18, 2020
8fff790
Translated using Weblate (Spanish)
josepmy May 18, 2020
0b5ee7f
Translated using Weblate (Spanish)
josepmy May 18, 2020
f062d4b
[UPD] Brainbean Apps => CorporateHub
alexey-pelykh Nov 4, 2020
4eea22e
Added translation using Weblate (French)
ypapouin Jan 27, 2021
d516cbd
Translated using Weblate (French)
ypapouin Jan 27, 2021
b0a0c68
[IMP] hr_timesheet_sheet_policy_department_manager: black, isort, pre…
Jan 19, 2022
809ed20
[MIG] hr_timesheet_sheet_policy_department_manager: Migration to 14.0
Jan 19, 2022
e5dc192
[UPD] Update hr_timesheet_sheet_policy_department_manager.pot
oca-travis Jan 20, 2022
95b99e4
[UPD] README.rst
OCA-git-bot Jan 20, 2022
191bcc7
Added translation using Weblate (Italian)
mymage Jan 11, 2023
f4dcb51
Translated using Weblate (Italian)
mymage Jan 11, 2023
3027c6a
Translated using Weblate (Italian)
mymage Jan 12, 2023
56c5893
[UPD] README.rst
OCA-git-bot Sep 3, 2023
e669820
Update translation files
weblate Oct 9, 2023
3e81146
Translated using Weblate (Italian)
mymage Oct 10, 2023
9ad3e9c
[IMP]hr_timesheet_sheet_policy_department_manager: black, isort, pret…
bizzappdev Oct 1, 2024
1a7d0e3
[MIG][15.0]hr_timesheet_sheet_policy_department_manager:Migration to …
bizzappdev Oct 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions hr_timesheet_sheet_policy_department_manager/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
=============================================
HR Timesheet Sheet: Department Manager Policy
=============================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:53a3750b8c095496ecede45f612df212f21d19499ca0260b12471f46bee98b45
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Ftimesheet-lightgray.png?logo=github
:target: https://github.com/OCA/timesheet/tree/15.0/hr_timesheet_sheet_policy_department_manager
:alt: OCA/timesheet
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/timesheet-15-0/timesheet-15-0-hr_timesheet_sheet_policy_department_manager
: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/timesheet&target_branch=15.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows setting Department Manager as Reviewer on Timesheet Sheets.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/timesheet/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/timesheet/issues/new?body=module:%20hr_timesheet_sheet_policy_department_manager%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* CorporateHub

Contributors
~~~~~~~~~~~~

* `CorporateHub <https://corporatehub.eu/>`__

* Alexey Pelykh <[email protected]>
* `Tecnativa <https://www.tecnativa.com>`_

* Ernesto Tejeda

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/timesheet <https://github.com/OCA/timesheet/tree/15.0/hr_timesheet_sheet_policy_department_manager>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions hr_timesheet_sheet_policy_department_manager/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
20 changes: 20 additions & 0 deletions hr_timesheet_sheet_policy_department_manager/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2019 Brainbean Apps (https://brainbeanapps.com)
# Copyright 2020 CorporateHub (https://corporatehub.eu)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "HR Timesheet Sheet: Department Manager Policy",
"version": "15.0.1.0.0",
"author": "CorporateHub, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/timesheet",
"license": "AGPL-3",
"category": "Human Resources",
"summary": "Allows setting Department Manager as Reviewer",
"depends": [
"hr_timesheet_sheet",
],
"data": [
"views/hr_timesheet_sheet.xml",
],
"installable": True,
}
84 changes: 84 additions & 0 deletions hr_timesheet_sheet_policy_department_manager/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_sheet_policy_department_manager
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-05-18 20:19+0000\n"
"Last-Translator: Josep M <[email protected]>\n"
"Language-Team: none\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.10\n"

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields.selection,name:hr_timesheet_sheet_policy_department_manager.selection__res_company__timesheet_sheet_review_policy__department_manager
msgid "By Department Manager"
msgstr "Por el responsable del departamento"

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model,name:hr_timesheet_sheet_policy_department_manager.model_res_company
msgid "Companies"
msgstr "Compañías"

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_hr_timesheet_sheet__display_name
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_res_company__display_name
msgid "Display Name"
msgstr ""

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields,help:hr_timesheet_sheet_policy_department_manager.field_res_company__timesheet_sheet_review_policy
msgid "How Timesheet Sheets review is performed."
msgstr "Cómo ser realiza la revisión de Partes de horas."

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_hr_timesheet_sheet__id
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_res_company__id
msgid "ID"
msgstr ""

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_hr_timesheet_sheet____last_update
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_res_company____last_update
msgid "Last Modified on"
msgstr ""

#. module: hr_timesheet_sheet_policy_department_manager
#: code:addons/hr_timesheet_sheet_policy_department_manager/models/hr_timesheet_sheet.py:0
#, python-format
msgid "Only a Department's Manager can review the sheet."
msgstr "Solo el responsable de departamente puede revisar este parte."

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model,name:hr_timesheet_sheet_policy_department_manager.model_hr_timesheet_sheet
msgid "Timesheet Sheet"
msgstr "Parte de horas"

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_res_company__timesheet_sheet_review_policy
msgid "Timesheet Sheet Review Policy"
msgstr "Política de Revisión del Parte de horas"

#~ msgid "By Direct Manager"
#~ msgstr "Por responsable directo"

#, fuzzy
#~ msgid "By HR Managers"
#~ msgstr "Por Reponsable de RRHH"

#, fuzzy
#~ msgid "By HR Officers"
#~ msgstr "Por Reponsable de RRHH"

#~ msgid "By Project Manager"
#~ msgstr "Por responsable de proyecto"

#, fuzzy
#~ msgid "By Timesheets Managers"
#~ msgstr "Por responsable directo"
81 changes: 81 additions & 0 deletions hr_timesheet_sheet_policy_department_manager/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_sheet_policy_department_manager
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-01-27 15:21+0000\n"
"Last-Translator: Yann Papouin <[email protected]>\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields.selection,name:hr_timesheet_sheet_policy_department_manager.selection__res_company__timesheet_sheet_review_policy__department_manager
msgid "By Department Manager"
msgstr "Par le responsable du département"

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model,name:hr_timesheet_sheet_policy_department_manager.model_res_company
msgid "Companies"
msgstr "Sociétés"

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_hr_timesheet_sheet__display_name
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_res_company__display_name
msgid "Display Name"
msgstr ""

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields,help:hr_timesheet_sheet_policy_department_manager.field_res_company__timesheet_sheet_review_policy
msgid "How Timesheet Sheets review is performed."
msgstr "Comment l'examen des relevés des feuilles de temps est effectué."

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_hr_timesheet_sheet__id
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_res_company__id
msgid "ID"
msgstr ""

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_hr_timesheet_sheet____last_update
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_res_company____last_update
msgid "Last Modified on"
msgstr ""

#. module: hr_timesheet_sheet_policy_department_manager
#: code:addons/hr_timesheet_sheet_policy_department_manager/models/hr_timesheet_sheet.py:0
#, python-format
msgid "Only a Department's Manager can review the sheet."
msgstr "Seul un responsable du département peut examiner cette feuille."

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model,name:hr_timesheet_sheet_policy_department_manager.model_hr_timesheet_sheet
msgid "Timesheet Sheet"
msgstr "Relevé de feuille de temps"

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_res_company__timesheet_sheet_review_policy
msgid "Timesheet Sheet Review Policy"
msgstr "Politique de révision des relevés de feuilles de temps"

#~ msgid "By Direct Manager"
#~ msgstr "Par le responsable hiérarchique"

#~ msgid "By HR Managers"
#~ msgstr "Par les responsables RH"

#~ msgid "By HR Officers"
#~ msgstr "Par les agents RH"

#~ msgid "By Project Manager"
#~ msgstr "Par le responsable de projet"

#~ msgid "By Timesheets Managers"
#~ msgstr "Par les responsables des feuilles de temps"
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_sheet_policy_department_manager
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.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_timesheet_sheet_policy_department_manager
#: model:ir.model.fields.selection,name:hr_timesheet_sheet_policy_department_manager.selection__res_company__timesheet_sheet_review_policy__department_manager
msgid "By Department Manager"
msgstr ""

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model,name:hr_timesheet_sheet_policy_department_manager.model_res_company
msgid "Companies"
msgstr ""

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_hr_timesheet_sheet__display_name
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_res_company__display_name
msgid "Display Name"
msgstr ""

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields,help:hr_timesheet_sheet_policy_department_manager.field_res_company__timesheet_sheet_review_policy
msgid "How Timesheet Sheets review is performed."
msgstr ""

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_hr_timesheet_sheet__id
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_res_company__id
msgid "ID"
msgstr ""

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_hr_timesheet_sheet____last_update
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_res_company____last_update
msgid "Last Modified on"
msgstr ""

#. module: hr_timesheet_sheet_policy_department_manager
#: code:addons/hr_timesheet_sheet_policy_department_manager/models/hr_timesheet_sheet.py:0
#, python-format
msgid "Only a Department's Manager can review the sheet."
msgstr ""

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model,name:hr_timesheet_sheet_policy_department_manager.model_hr_timesheet_sheet
msgid "Timesheet Sheet"
msgstr ""

#. module: hr_timesheet_sheet_policy_department_manager
#: model:ir.model.fields,field_description:hr_timesheet_sheet_policy_department_manager.field_res_company__timesheet_sheet_review_policy
msgid "Timesheet Sheet Review Policy"
msgstr ""
Loading
Loading