From 34511f96203f5386fdcb96cca7c16c22be534f44 Mon Sep 17 00:00:00 2001 From: Moctar Diallo Date: Thu, 16 Mar 2023 14:25:36 +0100 Subject: [PATCH 1/3] [ADD] helpdesk_mgmt_timesheet_time_type: Add Time Type to Tickets timesheet --- helpdesk_mgmt_timesheet_time_type/README.rst | 99 +++++++++++++++++++ helpdesk_mgmt_timesheet_time_type/__init__.py | 3 + .../__manifest__.py | 19 ++++ .../readme/CONFIGURE.rst | 12 +++ .../readme/CONTRIBUTORS.rst | 3 + .../readme/DESCRIPTION.rst | 1 + .../readme/USAGE.rst | 4 + .../views/helpdesk_ticket_view.xml | 24 +++++ 8 files changed, 165 insertions(+) create mode 100644 helpdesk_mgmt_timesheet_time_type/README.rst create mode 100644 helpdesk_mgmt_timesheet_time_type/__init__.py create mode 100644 helpdesk_mgmt_timesheet_time_type/__manifest__.py create mode 100644 helpdesk_mgmt_timesheet_time_type/readme/CONFIGURE.rst create mode 100644 helpdesk_mgmt_timesheet_time_type/readme/CONTRIBUTORS.rst create mode 100644 helpdesk_mgmt_timesheet_time_type/readme/DESCRIPTION.rst create mode 100644 helpdesk_mgmt_timesheet_time_type/readme/USAGE.rst create mode 100644 helpdesk_mgmt_timesheet_time_type/views/helpdesk_ticket_view.xml diff --git a/helpdesk_mgmt_timesheet_time_type/README.rst b/helpdesk_mgmt_timesheet_time_type/README.rst new file mode 100644 index 0000000000..06f833468c --- /dev/null +++ b/helpdesk_mgmt_timesheet_time_type/README.rst @@ -0,0 +1,99 @@ +========================= +Helpdesk Ticket Timesheet +========================= + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fhelpdesk-lightgray.png?logo=github + :target: https://github.com/OCA/helpdesk/tree/14.0/helpdesk_mgmt_timesheet + :alt: OCA/helpdesk +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/helpdesk-14-0/helpdesk-14-0-helpdesk_mgmt_timesheet + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/282/14.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds Timesheet funcionality in Helpdesk module. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +To configure this module, you need to: + +#. Allow Timesheet for a Helpdesk's Team +#. Set a Default Project (optional) + +Allow Timesheet +~~~~~~~~~~~~~~~ + +#. Go to Helpdesk > Configuration > Teams. +#. Edit or create a new team. +#. Check Allow Timesheet option to allow timesheets for that team. +#. Select a Project for that team (optional). + +Usage +===== + +#. Go to *Helpdesk* or *Helpdesk > Dashboard* to see the tickets dashboard. +#. In the Kanban view, click in the kanban card of a team to see their tickets and create new ones. +#. If there is not a Default Project you will need select a Project for the Ticket to show the Timesheet Table. +#. You will see the column field ``time_type_id`` in the tree view of timesheets. + +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 smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* XCG Consulting + +Contributors +~~~~~~~~~~~~ + +* `XCG Consulting `_: + + * Moctar Diallo + +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/helpdesk `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/helpdesk_mgmt_timesheet_time_type/__init__.py b/helpdesk_mgmt_timesheet_time_type/__init__.py new file mode 100644 index 0000000000..0286dd9cff --- /dev/null +++ b/helpdesk_mgmt_timesheet_time_type/__init__.py @@ -0,0 +1,3 @@ +############################################################################### +# For copyright and license notices, see __manifest__.py file in root directory +############################################################################### diff --git a/helpdesk_mgmt_timesheet_time_type/__manifest__.py b/helpdesk_mgmt_timesheet_time_type/__manifest__.py new file mode 100644 index 0000000000..8cec053755 --- /dev/null +++ b/helpdesk_mgmt_timesheet_time_type/__manifest__.py @@ -0,0 +1,19 @@ +# Copyright (C) 2023 XCG Consulting +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Helpdesk Ticket Timesheet Time Type", + "summary": "Add time type to the Timesheet of tickets in Helpdesk.", + "author": "XCG Consulting, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/helpdesk", + "license": "AGPL-3", + "category": "Project", + "version": "15.0.1.0.0", + "depends": [ + "helpdesk_mgmt_timesheet", + "hr_timesheet_time_type", + ], + "data": [ + "views/helpdesk_ticket_view.xml", + ], +} diff --git a/helpdesk_mgmt_timesheet_time_type/readme/CONFIGURE.rst b/helpdesk_mgmt_timesheet_time_type/readme/CONFIGURE.rst new file mode 100644 index 0000000000..d85d8e4d31 --- /dev/null +++ b/helpdesk_mgmt_timesheet_time_type/readme/CONFIGURE.rst @@ -0,0 +1,12 @@ +To configure this module, you need to: + +#. Allow Timesheet for a Helpdesk's Team +#. Set a Default Project (optional) + +Allow Timesheet +~~~~~~~~~~~~~~~ + +#. Go to Helpdesk > Configuration > Teams. +#. Edit or create a new team. +#. Check Allow Timesheet option to allow timesheets for that team. +#. Select a Project for that team (optional). diff --git a/helpdesk_mgmt_timesheet_time_type/readme/CONTRIBUTORS.rst b/helpdesk_mgmt_timesheet_time_type/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000000..6f1eb8d60e --- /dev/null +++ b/helpdesk_mgmt_timesheet_time_type/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* `XCG Consulting `_: + + * Moctar Diallo diff --git a/helpdesk_mgmt_timesheet_time_type/readme/DESCRIPTION.rst b/helpdesk_mgmt_timesheet_time_type/readme/DESCRIPTION.rst new file mode 100644 index 0000000000..5f840dee13 --- /dev/null +++ b/helpdesk_mgmt_timesheet_time_type/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module adds Time Type to the Timesheet of tickets Helpdesk module. diff --git a/helpdesk_mgmt_timesheet_time_type/readme/USAGE.rst b/helpdesk_mgmt_timesheet_time_type/readme/USAGE.rst new file mode 100644 index 0000000000..9277a2aba0 --- /dev/null +++ b/helpdesk_mgmt_timesheet_time_type/readme/USAGE.rst @@ -0,0 +1,4 @@ +#. Go to *Helpdesk* or *Helpdesk > Dashboard* to see the tickets dashboard. +#. In the Kanban view, click in the kanban card of a team to see their tickets and create new ones. +#. If there is not a Default Project you will need select a Project for the Ticket to show the Timesheet Table. +#. You will see the column field ``time_type_id`` in the tree view of timesheets. diff --git a/helpdesk_mgmt_timesheet_time_type/views/helpdesk_ticket_view.xml b/helpdesk_mgmt_timesheet_time_type/views/helpdesk_ticket_view.xml new file mode 100644 index 0000000000..44110f9348 --- /dev/null +++ b/helpdesk_mgmt_timesheet_time_type/views/helpdesk_ticket_view.xml @@ -0,0 +1,24 @@ + + + + timesheet.time.type.helpdesk.ticket.form.view + helpdesk.ticket + + + + + + + + + + From 3c847a789ee5a0e50ec4d04d554e97529173be58 Mon Sep 17 00:00:00 2001 From: Arthur MAYER Date: Tue, 24 Oct 2023 11:28:02 +0200 Subject: [PATCH 2/3] [ADD] helpdesk_mgmt_timesheet_time_type --- helpdesk_mgmt_timesheet_time_type/README.rst | 99 ------------------- .../__manifest__.py | 2 +- .../readme/CONTRIBUTORS.rst | 1 + .../addons/helpdesk_mgmt_timesheet_time_type | 1 + .../setup.py | 6 ++ 5 files changed, 9 insertions(+), 100 deletions(-) create mode 120000 setup/helpdesk_mgmt_timesheet_time_type/odoo/addons/helpdesk_mgmt_timesheet_time_type create mode 100644 setup/helpdesk_mgmt_timesheet_time_type/setup.py diff --git a/helpdesk_mgmt_timesheet_time_type/README.rst b/helpdesk_mgmt_timesheet_time_type/README.rst index 06f833468c..e69de29bb2 100644 --- a/helpdesk_mgmt_timesheet_time_type/README.rst +++ b/helpdesk_mgmt_timesheet_time_type/README.rst @@ -1,99 +0,0 @@ -========================= -Helpdesk Ticket Timesheet -========================= - -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |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%2Fhelpdesk-lightgray.png?logo=github - :target: https://github.com/OCA/helpdesk/tree/14.0/helpdesk_mgmt_timesheet - :alt: OCA/helpdesk -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/helpdesk-14-0/helpdesk-14-0-helpdesk_mgmt_timesheet - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/282/14.0 - :alt: Try me on Runbot - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module adds Timesheet funcionality in Helpdesk module. - -**Table of contents** - -.. contents:: - :local: - -Configuration -============= - -To configure this module, you need to: - -#. Allow Timesheet for a Helpdesk's Team -#. Set a Default Project (optional) - -Allow Timesheet -~~~~~~~~~~~~~~~ - -#. Go to Helpdesk > Configuration > Teams. -#. Edit or create a new team. -#. Check Allow Timesheet option to allow timesheets for that team. -#. Select a Project for that team (optional). - -Usage -===== - -#. Go to *Helpdesk* or *Helpdesk > Dashboard* to see the tickets dashboard. -#. In the Kanban view, click in the kanban card of a team to see their tickets and create new ones. -#. If there is not a Default Project you will need select a Project for the Ticket to show the Timesheet Table. -#. You will see the column field ``time_type_id`` in the tree view of timesheets. - -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 smashing it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* XCG Consulting - -Contributors -~~~~~~~~~~~~ - -* `XCG Consulting `_: - - * Moctar Diallo - -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/helpdesk `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/helpdesk_mgmt_timesheet_time_type/__manifest__.py b/helpdesk_mgmt_timesheet_time_type/__manifest__.py index 8cec053755..dd5193fd06 100644 --- a/helpdesk_mgmt_timesheet_time_type/__manifest__.py +++ b/helpdesk_mgmt_timesheet_time_type/__manifest__.py @@ -8,7 +8,7 @@ "website": "https://github.com/OCA/helpdesk", "license": "AGPL-3", "category": "Project", - "version": "15.0.1.0.0", + "version": "16.0.1.0.0", "depends": [ "helpdesk_mgmt_timesheet", "hr_timesheet_time_type", diff --git a/helpdesk_mgmt_timesheet_time_type/readme/CONTRIBUTORS.rst b/helpdesk_mgmt_timesheet_time_type/readme/CONTRIBUTORS.rst index 6f1eb8d60e..239bed7e12 100644 --- a/helpdesk_mgmt_timesheet_time_type/readme/CONTRIBUTORS.rst +++ b/helpdesk_mgmt_timesheet_time_type/readme/CONTRIBUTORS.rst @@ -1,3 +1,4 @@ * `XCG Consulting `_: * Moctar Diallo + * Arthur Mayer diff --git a/setup/helpdesk_mgmt_timesheet_time_type/odoo/addons/helpdesk_mgmt_timesheet_time_type b/setup/helpdesk_mgmt_timesheet_time_type/odoo/addons/helpdesk_mgmt_timesheet_time_type new file mode 120000 index 0000000000..0ba008619d --- /dev/null +++ b/setup/helpdesk_mgmt_timesheet_time_type/odoo/addons/helpdesk_mgmt_timesheet_time_type @@ -0,0 +1 @@ +../../../../helpdesk_mgmt_timesheet_time_type \ No newline at end of file diff --git a/setup/helpdesk_mgmt_timesheet_time_type/setup.py b/setup/helpdesk_mgmt_timesheet_time_type/setup.py new file mode 100644 index 0000000000..28c57bb640 --- /dev/null +++ b/setup/helpdesk_mgmt_timesheet_time_type/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) From 20d4425947804f3616409fbbd79b92545afa1d6e Mon Sep 17 00:00:00 2001 From: Arthur MAYER Date: Tue, 24 Oct 2023 11:28:02 +0200 Subject: [PATCH 3/3] [ADD] helpdesk_mgmt_timesheet_time_type --- helpdesk_mgmt_timesheet_time_type/README.rst | 99 ------------------- .../__manifest__.py | 2 +- .../readme/CONTRIBUTORS.rst | 1 + .../views/helpdesk_ticket_view.xml | 7 +- .../addons/helpdesk_mgmt_timesheet_time_type | 1 + .../setup.py | 6 ++ 6 files changed, 12 insertions(+), 104 deletions(-) create mode 120000 setup/helpdesk_mgmt_timesheet_time_type/odoo/addons/helpdesk_mgmt_timesheet_time_type create mode 100644 setup/helpdesk_mgmt_timesheet_time_type/setup.py diff --git a/helpdesk_mgmt_timesheet_time_type/README.rst b/helpdesk_mgmt_timesheet_time_type/README.rst index 06f833468c..e69de29bb2 100644 --- a/helpdesk_mgmt_timesheet_time_type/README.rst +++ b/helpdesk_mgmt_timesheet_time_type/README.rst @@ -1,99 +0,0 @@ -========================= -Helpdesk Ticket Timesheet -========================= - -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |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%2Fhelpdesk-lightgray.png?logo=github - :target: https://github.com/OCA/helpdesk/tree/14.0/helpdesk_mgmt_timesheet - :alt: OCA/helpdesk -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/helpdesk-14-0/helpdesk-14-0-helpdesk_mgmt_timesheet - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/282/14.0 - :alt: Try me on Runbot - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module adds Timesheet funcionality in Helpdesk module. - -**Table of contents** - -.. contents:: - :local: - -Configuration -============= - -To configure this module, you need to: - -#. Allow Timesheet for a Helpdesk's Team -#. Set a Default Project (optional) - -Allow Timesheet -~~~~~~~~~~~~~~~ - -#. Go to Helpdesk > Configuration > Teams. -#. Edit or create a new team. -#. Check Allow Timesheet option to allow timesheets for that team. -#. Select a Project for that team (optional). - -Usage -===== - -#. Go to *Helpdesk* or *Helpdesk > Dashboard* to see the tickets dashboard. -#. In the Kanban view, click in the kanban card of a team to see their tickets and create new ones. -#. If there is not a Default Project you will need select a Project for the Ticket to show the Timesheet Table. -#. You will see the column field ``time_type_id`` in the tree view of timesheets. - -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 smashing it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* XCG Consulting - -Contributors -~~~~~~~~~~~~ - -* `XCG Consulting `_: - - * Moctar Diallo - -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/helpdesk `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/helpdesk_mgmt_timesheet_time_type/__manifest__.py b/helpdesk_mgmt_timesheet_time_type/__manifest__.py index 8cec053755..dd5193fd06 100644 --- a/helpdesk_mgmt_timesheet_time_type/__manifest__.py +++ b/helpdesk_mgmt_timesheet_time_type/__manifest__.py @@ -8,7 +8,7 @@ "website": "https://github.com/OCA/helpdesk", "license": "AGPL-3", "category": "Project", - "version": "15.0.1.0.0", + "version": "16.0.1.0.0", "depends": [ "helpdesk_mgmt_timesheet", "hr_timesheet_time_type", diff --git a/helpdesk_mgmt_timesheet_time_type/readme/CONTRIBUTORS.rst b/helpdesk_mgmt_timesheet_time_type/readme/CONTRIBUTORS.rst index 6f1eb8d60e..239bed7e12 100644 --- a/helpdesk_mgmt_timesheet_time_type/readme/CONTRIBUTORS.rst +++ b/helpdesk_mgmt_timesheet_time_type/readme/CONTRIBUTORS.rst @@ -1,3 +1,4 @@ * `XCG Consulting `_: * Moctar Diallo + * Arthur Mayer diff --git a/helpdesk_mgmt_timesheet_time_type/views/helpdesk_ticket_view.xml b/helpdesk_mgmt_timesheet_time_type/views/helpdesk_ticket_view.xml index 44110f9348..da1bbe28d0 100644 --- a/helpdesk_mgmt_timesheet_time_type/views/helpdesk_ticket_view.xml +++ b/helpdesk_mgmt_timesheet_time_type/views/helpdesk_ticket_view.xml @@ -1,4 +1,4 @@ - + timesheet.time.type.helpdesk.ticket.form.view @@ -8,8 +8,7 @@ ref="helpdesk_mgmt_timesheet.timesheet_helpdesk_ticket_view_form" /> @@ -21,4 +20,4 @@ - + \ No newline at end of file diff --git a/setup/helpdesk_mgmt_timesheet_time_type/odoo/addons/helpdesk_mgmt_timesheet_time_type b/setup/helpdesk_mgmt_timesheet_time_type/odoo/addons/helpdesk_mgmt_timesheet_time_type new file mode 120000 index 0000000000..0ba008619d --- /dev/null +++ b/setup/helpdesk_mgmt_timesheet_time_type/odoo/addons/helpdesk_mgmt_timesheet_time_type @@ -0,0 +1 @@ +../../../../helpdesk_mgmt_timesheet_time_type \ No newline at end of file diff --git a/setup/helpdesk_mgmt_timesheet_time_type/setup.py b/setup/helpdesk_mgmt_timesheet_time_type/setup.py new file mode 100644 index 0000000000..28c57bb640 --- /dev/null +++ b/setup/helpdesk_mgmt_timesheet_time_type/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)