diff --git a/helpdesk_mgmt_timesheet_time_type/README.rst b/helpdesk_mgmt_timesheet_time_type/README.rst new file mode 100644 index 0000000000..e69de29bb2 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..dd5193fd06 --- /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": "16.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..239bed7e12 --- /dev/null +++ b/helpdesk_mgmt_timesheet_time_type/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* `XCG Consulting `_: + + * Moctar Diallo + * Arthur Mayer 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..06cad92dc3 --- /dev/null +++ b/helpdesk_mgmt_timesheet_time_type/views/helpdesk_ticket_view.xml @@ -0,0 +1,23 @@ + + + + timesheet.time.type.helpdesk.ticket.form.view + helpdesk.ticket + + + + + + + + + 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, +)