diff --git a/hr_timesheet_activity_begin_end/README.rst b/hr_timesheet_activity_begin_end/README.rst index fb5e5c5785..aa8f457f95 100644 --- a/hr_timesheet_activity_begin_end/README.rst +++ b/hr_timesheet_activity_begin_end/README.rst @@ -17,13 +17,13 @@ Timesheet Activities - Begin/End Hours :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/14.0/hr_timesheet_activity_begin_end + :target: https://github.com/OCA/timesheet/tree/16.0/hr_timesheet_activity_begin_end :alt: OCA/timesheet .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/timesheet-14-0/timesheet-14-0-hr_timesheet_activity_begin_end + :target: https://translation.odoo-community.org/projects/timesheet-16-0/timesheet-16-0-hr_timesheet_activity_begin_end :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=14.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/timesheet&target_branch=16.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -41,7 +41,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. @@ -67,6 +67,7 @@ Contributors * Andrea Stirpe * Sunanda Chhatbar +* Eduardo López Maintainers ~~~~~~~~~~~ @@ -81,6 +82,17 @@ 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 `_ project on GitHub. +.. |maintainer-rafaelbn| image:: https://github.com/rafaelbn.png?size=40px + :target: https://github.com/rafaelbn + :alt: rafaelbn +.. |maintainer-edlopen| image:: https://github.com/edlopen.png?size=40px + :target: https://github.com/edlopen + :alt: edlopen + +Current `maintainers `__: + +|maintainer-rafaelbn| |maintainer-edlopen| + +This module is part of the `OCA/timesheet `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/hr_timesheet_activity_begin_end/__manifest__.py b/hr_timesheet_activity_begin_end/__manifest__.py index b07f4f002b..c934d6444d 100644 --- a/hr_timesheet_activity_begin_end/__manifest__.py +++ b/hr_timesheet_activity_begin_end/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Timesheet Activities - Begin/End Hours", - "version": "14.0.1.0.2", + "version": "16.0.1.0.0", "author": "Camptocamp, Tecnativa, Odoo Community Association (OCA)", "license": "AGPL-3", "category": "Human Resources", @@ -17,4 +17,5 @@ ], "installable": True, "auto_install": False, + "maintainers": ["rafaelbn", "edlopen"], } diff --git a/hr_timesheet_activity_begin_end/readme/CONTRIBUTORS.rst b/hr_timesheet_activity_begin_end/readme/CONTRIBUTORS.rst index 4ad5c9a172..5eef799142 100644 --- a/hr_timesheet_activity_begin_end/readme/CONTRIBUTORS.rst +++ b/hr_timesheet_activity_begin_end/readme/CONTRIBUTORS.rst @@ -8,3 +8,4 @@ * Andrea Stirpe * Sunanda Chhatbar +* Eduardo López diff --git a/hr_timesheet_activity_begin_end/static/description/index.html b/hr_timesheet_activity_begin_end/static/description/index.html index c48387f941..15003dc4aa 100644 --- a/hr_timesheet_activity_begin_end/static/description/index.html +++ b/hr_timesheet_activity_begin_end/static/description/index.html @@ -1,4 +1,3 @@ - @@ -369,7 +368,7 @@

Timesheet Activities - Begin/End Hours

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:85ba830756d791847e646ee5ba78afaea224bab3fd605674def9eca37b8bf97a !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

Adds starting and ending hours fields on the timesheet activities.

Table of contents

@@ -388,7 +387,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.

@@ -414,6 +413,7 @@

Contributors

  • Sunanda Chhatbar <sunanda.chhatbar@initos.com>
  • +
  • Eduardo López <elp@moduon.team>
  • @@ -423,7 +423,9 @@

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

    +

    Current maintainers:

    +

    rafaelbn edlopen

    +

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

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

    diff --git a/hr_timesheet_activity_begin_end/tests/test_timesheet_begin_end.py b/hr_timesheet_activity_begin_end/tests/test_timesheet_begin_end.py index 09a75dbb68..5c81196cf9 100644 --- a/hr_timesheet_activity_begin_end/tests/test_timesheet_begin_end.py +++ b/hr_timesheet_activity_begin_end/tests/test_timesheet_begin_end.py @@ -6,19 +6,20 @@ class TestBeginEnd(common.TransactionCase): - def setUp(self): - super(TestBeginEnd, self).setUp() - self.timesheet_line_model = self.env["account.analytic.line"] - self.analytic = self.env.ref("analytic.analytic_administratif") - self.user = self.env.ref("base.user_root") - self.base_line = { + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.timesheet_line_model = cls.env["account.analytic.line"] + cls.analytic = cls.env.ref("analytic.analytic_administratif") + cls.user = cls.env.ref("base.user_root") + cls.base_line = { "name": "test", "date": fields.Date.today(), "time_start": 10.0, "time_stop": 12.0, - "user_id": self.user.id, + "user_id": cls.user.id, "unit_amount": 2.0, - "account_id": self.analytic.id, + "account_id": cls.analytic.id, "amount": -60.0, } diff --git a/setup/hr_timesheet_activity_begin_end/odoo/addons/hr_timesheet_activity_begin_end b/setup/hr_timesheet_activity_begin_end/odoo/addons/hr_timesheet_activity_begin_end new file mode 120000 index 0000000000..5d2a9c9279 --- /dev/null +++ b/setup/hr_timesheet_activity_begin_end/odoo/addons/hr_timesheet_activity_begin_end @@ -0,0 +1 @@ +../../../../hr_timesheet_activity_begin_end \ No newline at end of file diff --git a/setup/hr_timesheet_activity_begin_end/setup.py b/setup/hr_timesheet_activity_begin_end/setup.py new file mode 100644 index 0000000000..28c57bb640 --- /dev/null +++ b/setup/hr_timesheet_activity_begin_end/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)