diff --git a/hr_timesheet_sheet_no_create/README.rst b/hr_timesheet_sheet_no_create/README.rst new file mode 100644 index 0000000000..b668229332 --- /dev/null +++ b/hr_timesheet_sheet_no_create/README.rst @@ -0,0 +1,77 @@ +============================================= +HR Timesheet Sheet - No create projects/tasks +============================================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:14c834452d46324403c4ed9a78deea082d911e27066a6a4776c3cdd713971a7d + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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_no_create + :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_no_create + :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| + +With this module it will not be possible to create projects and tasks +directly from the lines of a timesheet sheet. + +**Table of contents** + +.. contents:: + :local: + +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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Onestein + +Contributors +~~~~~~~~~~~~ + +* Andrea Stirpe + +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 `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/hr_timesheet_sheet_no_create/__init__.py b/hr_timesheet_sheet_no_create/__init__.py new file mode 100644 index 0000000000..ef5ae3587f --- /dev/null +++ b/hr_timesheet_sheet_no_create/__init__.py @@ -0,0 +1 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). diff --git a/hr_timesheet_sheet_no_create/__manifest__.py b/hr_timesheet_sheet_no_create/__manifest__.py new file mode 100644 index 0000000000..fbe41f9a25 --- /dev/null +++ b/hr_timesheet_sheet_no_create/__manifest__.py @@ -0,0 +1,15 @@ +# Copyright 2020 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "HR Timesheet Sheet - No create projects/tasks", + "version": "16.0.1.0.0", + "category": "Human Resources", + "author": "Onestein, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/timesheet", + "license": "AGPL-3", + "summary": "Avoid creation of projects and tasks in timesheet sheet lines", + "depends": ["hr_timesheet_sheet"], + "data": ["views/hr_timesheet_sheet.xml"], + "installable": True, +} diff --git a/hr_timesheet_sheet_no_create/i18n/es.po b/hr_timesheet_sheet_no_create/i18n/es.po new file mode 100644 index 0000000000..e69de29bb2 diff --git a/hr_timesheet_sheet_no_create/i18n/hr_timesheet_sheet_no_create.pot b/hr_timesheet_sheet_no_create/i18n/hr_timesheet_sheet_no_create.pot new file mode 100644 index 0000000000..a11baf5cd7 --- /dev/null +++ b/hr_timesheet_sheet_no_create/i18n/hr_timesheet_sheet_no_create.pot @@ -0,0 +1,13 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.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" diff --git a/hr_timesheet_sheet_no_create/i18n/it.po b/hr_timesheet_sheet_no_create/i18n/it.po new file mode 100644 index 0000000000..e69de29bb2 diff --git a/hr_timesheet_sheet_no_create/readme/CONTRIBUTORS.rst b/hr_timesheet_sheet_no_create/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000000..4518218c84 --- /dev/null +++ b/hr_timesheet_sheet_no_create/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Andrea Stirpe diff --git a/hr_timesheet_sheet_no_create/readme/DESCRIPTION.rst b/hr_timesheet_sheet_no_create/readme/DESCRIPTION.rst new file mode 100644 index 0000000000..f26bbac15d --- /dev/null +++ b/hr_timesheet_sheet_no_create/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +With this module it will not be possible to create projects and tasks +directly from the lines of a timesheet sheet. diff --git a/hr_timesheet_sheet_no_create/static/description/icon.png b/hr_timesheet_sheet_no_create/static/description/icon.png new file mode 100644 index 0000000000..3a0328b516 Binary files /dev/null and b/hr_timesheet_sheet_no_create/static/description/icon.png differ diff --git a/hr_timesheet_sheet_no_create/static/description/index.html b/hr_timesheet_sheet_no_create/static/description/index.html new file mode 100644 index 0000000000..dc6467614d --- /dev/null +++ b/hr_timesheet_sheet_no_create/static/description/index.html @@ -0,0 +1,424 @@ + + + + + +HR Timesheet Sheet - No create projects/tasks + + + +
+

HR Timesheet Sheet - No create projects/tasks

+ + +

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

+

With this module it will not be possible to create projects and tasks +directly from the lines of a timesheet sheet.

+

Table of contents

+ +
+

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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Onestein
  • +
+
+
+

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/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_sheet_no_create/views/hr_timesheet_sheet.xml b/hr_timesheet_sheet_no_create/views/hr_timesheet_sheet.xml new file mode 100644 index 0000000000..b266178d0f --- /dev/null +++ b/hr_timesheet_sheet_no_create/views/hr_timesheet_sheet.xml @@ -0,0 +1,43 @@ + + + + + + hr_timesheet.sheet + + + + {'no_create': True} + + + {'no_create': True} + + + {'no_create': True} + + + {'no_create': True} + + + {'no_create': True} + + + {'no_create': True} + + + + + diff --git a/setup/hr_timesheet_sheet_no_create/odoo/addons/hr_timesheet_sheet_no_create b/setup/hr_timesheet_sheet_no_create/odoo/addons/hr_timesheet_sheet_no_create new file mode 120000 index 0000000000..02d7a74ee7 --- /dev/null +++ b/setup/hr_timesheet_sheet_no_create/odoo/addons/hr_timesheet_sheet_no_create @@ -0,0 +1 @@ +../../../../hr_timesheet_sheet_no_create \ No newline at end of file diff --git a/setup/hr_timesheet_sheet_no_create/setup.py b/setup/hr_timesheet_sheet_no_create/setup.py new file mode 100644 index 0000000000..28c57bb640 --- /dev/null +++ b/setup/hr_timesheet_sheet_no_create/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)