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

[MIG] hr_timesheet_sheet_activity: Migration to 16.0 #724

Open
wants to merge 10 commits into
base: 16.0
Choose a base branch
from
87 changes: 87 additions & 0 deletions hr_timesheet_sheet_activity/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
=============================
HR Timesheet Sheet Activities
=============================

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

.. |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/16.0/hr_timesheet_sheet_activity
:alt: OCA/timesheet
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/timesheet-16-0/timesheet-16-0-hr_timesheet_sheet_activity
: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=16.0
:alt: Try me on Runboat

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

This module adds the following activities related to submission and review of
timesheet sheets:

* Draft and Submit sheet(s) for review 1 business day prior the end of the period;
* Review sheet(s) within 1 business day after submission day (not earlier than the end of the period);
* Re-submit sheet(s) within 1 business day in case those have been rejected.

**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_activity%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* CorporateHub

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

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

* Alexey Pelykh <[email protected]>

* `Ooops404 <https://www.ooops404.com>`__:

* Ilyas <[email protected]>

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/16.0/hr_timesheet_sheet_activity>`_ 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_activity/__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.html).

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

{
"name": "HR Timesheet Sheet Activities",
"version": "16.0.1.0.0",
"category": "Human Resources",
"website": "https://github.com/OCA/timesheet",
"author": "CorporateHub, " "Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"application": False,
"summary": (
"Automatic activities related to submission and review of timesheet" " sheets"
),
"depends": [
"hr_timesheet_sheet",
],
"data": [
"data/hr_timesheet_sheet_activity_data.xml",
"views/mail_activity.xml",
],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2020 Brainbean Apps (https://brainbeanapps.com)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo noupdate="1">

<!-- Activities -->

<record id="activity_sheet_submission" model="mail.activity.type">
<field name="name">Timesheet Sheet Submission</field>
<field name="icon">fa-calendar-check-o</field>
<field name="res_model">hr_timesheet.sheet</field>
</record>

<record id="activity_sheet_review" model="mail.activity.type">
<field name="name">Timesheet Sheet Review</field>
<field name="icon">fa-calendar-check-o</field>
<field name="res_model">hr_timesheet.sheet</field>
</record>

<record id="activity_sheet_resubmission" model="mail.activity.type">
<field name="name">Timesheet Sheet Re-submission</field>
<field name="icon">fa-calendar-check-o</field>
<field name="res_model">hr_timesheet.sheet</field>
</record>

</odoo>
58 changes: 58 additions & 0 deletions hr_timesheet_sheet_activity/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_sheet_activity
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-05-18 12: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_activity
#: model:ir.actions.act_window,name:hr_timesheet_sheet_activity.action_view_hr_timesheet_sheet_mail_activity_types
#: model:ir.ui.menu,name:hr_timesheet_sheet_activity.menu_view_hr_timesheet_sheet_mail_activity_types
msgid "Activity Types"
msgstr "Tipos Actividades"

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

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

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

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

#. module: hr_timesheet_sheet_activity
#: model:mail.activity.type,name:hr_timesheet_sheet_activity.activity_sheet_resubmission
msgid "Timesheet Sheet Re-submission"
msgstr "Re-enviar Parte horas"

#. module: hr_timesheet_sheet_activity
#: model:mail.activity.type,name:hr_timesheet_sheet_activity.activity_sheet_review
msgid "Timesheet Sheet Review"
msgstr "Revisar Parte horas"

#. module: hr_timesheet_sheet_activity
#: model:mail.activity.type,name:hr_timesheet_sheet_activity.activity_sheet_submission
msgid "Timesheet Sheet Submission"
msgstr "Enviar Parte horas"
55 changes: 55 additions & 0 deletions hr_timesheet_sheet_activity/i18n/hr_timesheet_sheet_activity.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_sheet_activity
#
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_activity
#: model:ir.actions.act_window,name:hr_timesheet_sheet_activity.action_view_hr_timesheet_sheet_mail_activity_types
#: model:ir.ui.menu,name:hr_timesheet_sheet_activity.menu_view_hr_timesheet_sheet_mail_activity_types
msgid "Activity Types"
msgstr ""

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

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

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

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

#. module: hr_timesheet_sheet_activity
#: model:mail.activity.type,name:hr_timesheet_sheet_activity.activity_sheet_resubmission
msgid "Timesheet Sheet Re-submission"
msgstr ""

#. module: hr_timesheet_sheet_activity
#: model:mail.activity.type,name:hr_timesheet_sheet_activity.activity_sheet_review
msgid "Timesheet Sheet Review"
msgstr ""

#. module: hr_timesheet_sheet_activity
#: model:mail.activity.type,name:hr_timesheet_sheet_activity.activity_sheet_submission
msgid "Timesheet Sheet Submission"
msgstr ""
58 changes: 58 additions & 0 deletions hr_timesheet_sheet_activity/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_sheet_activity
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-10-11 08:38+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: hr_timesheet_sheet_activity
#: model:ir.actions.act_window,name:hr_timesheet_sheet_activity.action_view_hr_timesheet_sheet_mail_activity_types
#: model:ir.ui.menu,name:hr_timesheet_sheet_activity.menu_view_hr_timesheet_sheet_mail_activity_types
msgid "Activity Types"
msgstr "Tipi attività"

#. module: hr_timesheet_sheet_activity
#: model:ir.model.fields,field_description:hr_timesheet_sheet_activity.field_hr_timesheet_sheet__display_name
msgid "Display Name"
msgstr "Nome visualizzato"

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

#. module: hr_timesheet_sheet_activity
#: model:ir.model.fields,field_description:hr_timesheet_sheet_activity.field_hr_timesheet_sheet____last_update
msgid "Last Modified on"
msgstr "Ultima modifica il"

#. module: hr_timesheet_sheet_activity
#: model:ir.model,name:hr_timesheet_sheet_activity.model_hr_timesheet_sheet
msgid "Timesheet Sheet"
msgstr "Prospetto foglio ore"

#. module: hr_timesheet_sheet_activity
#: model:mail.activity.type,name:hr_timesheet_sheet_activity.activity_sheet_resubmission
msgid "Timesheet Sheet Re-submission"
msgstr "Re-invio prospetto foglio ore"

#. module: hr_timesheet_sheet_activity
#: model:mail.activity.type,name:hr_timesheet_sheet_activity.activity_sheet_review
msgid "Timesheet Sheet Review"
msgstr "Revisione prospetto foglio ore"

#. module: hr_timesheet_sheet_activity
#: model:mail.activity.type,name:hr_timesheet_sheet_activity.activity_sheet_submission
msgid "Timesheet Sheet Submission"
msgstr "Invio prospetto foglio ore"
58 changes: 58 additions & 0 deletions hr_timesheet_sheet_activity/i18n/nl_NL.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_sheet_activity
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-04-03 08:19+0000\n"
"Last-Translator: Cas Vissers <[email protected]>\n"
"Language-Team: none\n"
"Language: nl_NL\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.10\n"

#. module: hr_timesheet_sheet_activity
#: model:ir.actions.act_window,name:hr_timesheet_sheet_activity.action_view_hr_timesheet_sheet_mail_activity_types
#: model:ir.ui.menu,name:hr_timesheet_sheet_activity.menu_view_hr_timesheet_sheet_mail_activity_types
msgid "Activity Types"
msgstr "Activiteit soorten"

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

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

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

#. module: hr_timesheet_sheet_activity
#: model:ir.model,name:hr_timesheet_sheet_activity.model_hr_timesheet_sheet
msgid "Timesheet Sheet"
msgstr "Urenstaat formulier"

#. module: hr_timesheet_sheet_activity
#: model:mail.activity.type,name:hr_timesheet_sheet_activity.activity_sheet_resubmission
msgid "Timesheet Sheet Re-submission"
msgstr "Urenstaat formulier opnieuw ingediend"

#. module: hr_timesheet_sheet_activity
#: model:mail.activity.type,name:hr_timesheet_sheet_activity.activity_sheet_review
msgid "Timesheet Sheet Review"
msgstr "Urenstaat formulier goedkeuren"

#. module: hr_timesheet_sheet_activity
#: model:mail.activity.type,name:hr_timesheet_sheet_activity.activity_sheet_submission
msgid "Timesheet Sheet Submission"
msgstr "Urenstaat formulier indienen"
Loading
Loading