diff --git a/README.md b/README.md index 33b825a20a..22d26dbc68 100644 --- a/README.md +++ b/README.md @@ -38,11 +38,12 @@ addon | version | maintainers | summary [helpdesk_mgmt_sale_project](helpdesk_mgmt_sale_project/) | 18.0.1.0.0 | | Helpdesk Sale Project [helpdesk_mgmt_sla](helpdesk_mgmt_sla/) | 18.0.2.1.0 | | Add SLA to the tickets for Helpdesk Management. [helpdesk_mgmt_stage_validation](helpdesk_mgmt_stage_validation/) | 18.0.1.0.0 | | Validate input data when reaching a Helpdesk Ticket stage +[helpdesk_mgmt_template](helpdesk_mgmt_template/) | 18.0.1.0.0 | | Create Helpdesk Ticket Template [helpdesk_mgmt_timesheet](helpdesk_mgmt_timesheet/) | 18.0.1.1.3 | | Add HR Timesheet to the tickets for Helpdesk Management. [helpdesk_motive](helpdesk_motive/) | 18.0.1.0.0 | nelsonramirezs max3903 | Keep the motive [helpdesk_portal_priority](helpdesk_portal_priority/) | 18.0.1.0.0 | lbarry-apsl | Helpdesk Portal Priority [helpdesk_portal_restriction](helpdesk_portal_restriction/) | 18.0.1.0.0 | lbarry-apsl | Helpdesk Portal Restriction -[helpdesk_product](helpdesk_product/) | 18.0.1.0.1 | | Add the option to select product in the tickets. +[helpdesk_product](helpdesk_product/) | 18.0.1.1.0 | | Add the option to select product in the tickets. [helpdesk_ticket_close_inactive](helpdesk_ticket_close_inactive/) | 18.0.1.1.1 | miquelalzanillas | Helpdesk Ticket Close Inactive [helpdesk_ticket_open_tab](helpdesk_ticket_open_tab/) | 18.0.1.0.0 | peluko00 | Helpdesk Ticket Open Tab [helpdesk_ticket_partner_response](helpdesk_ticket_partner_response/) | 18.0.1.1.1 | peluko00 | Change ticket stage when partner response diff --git a/helpdesk_mgmt_template/README.rst b/helpdesk_mgmt_template/README.rst new file mode 100644 index 0000000000..d2ae3db1e0 --- /dev/null +++ b/helpdesk_mgmt_template/README.rst @@ -0,0 +1,111 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +============================ +Helpdesk Management Template +============================ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:f6e0e9890f91822f5f28d2ed26c4e9700e6364320ead59f11946d756fb93048d + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/license-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/18.0/helpdesk_mgmt_template + :alt: OCA/helpdesk +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/helpdesk-18-0/helpdesk-18-0-helpdesk_mgmt_template + :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/helpdesk&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +The module adds the following features: + +- Pre-configure ticket description template based on it's category + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +**To Configure Ticket's Description Template** - Go to Helpdesk -> +Configuration -> Categories. - Create a new Category or select an +existing Category. - Set the *Template* field with pre-defined the +ticket's description that will be triggered based on the category +selected. + +**To configure available Categories for Teams** - Go to Helpdesk -> +Configuration -> Categories. - Create a new Team or select an existing +Team. - Select categories which are available for the Team. + +Usage +===== + +**Go to Helpdesk module:** + +- Select a Team +- Open a Ticket +- Create a new Ticket +- Select Category +- Add a description or modify category description template (if + configured) + +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 +------- + +* Cetmix OÜ + +Contributors +------------ + +- `Cetmix OÜ `__: + + - Ivan Sokolov + - Mikhail Lapin + - Dessan Hemrayev + +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_template/__init__.py b/helpdesk_mgmt_template/__init__.py new file mode 100644 index 0000000000..bf8e144111 --- /dev/null +++ b/helpdesk_mgmt_template/__init__.py @@ -0,0 +1,4 @@ +# Copyright (C) 2024 Cetmix OÜ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import models diff --git a/helpdesk_mgmt_template/__manifest__.py b/helpdesk_mgmt_template/__manifest__.py new file mode 100644 index 0000000000..3e5ba5c052 --- /dev/null +++ b/helpdesk_mgmt_template/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright (C) 2024 Cetmix OÜ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Helpdesk Management Template", + "summary": "Create Helpdesk Ticket Template", + "version": "18.0.1.0.0", + "license": "AGPL-3", + "author": "Cetmix OÜ, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/helpdesk", + "depends": ["helpdesk_mgmt"], + "data": [ + "views/helpdesk_ticket_views.xml", + "views/helpdesk_ticket_category_views.xml", + "views/helpdesk_ticket_team_views.xml", + ], + "application": False, +} diff --git a/helpdesk_mgmt_template/i18n/helpdesk_mgmt_template.pot b/helpdesk_mgmt_template/i18n/helpdesk_mgmt_template.pot new file mode 100644 index 0000000000..ee09d8965f --- /dev/null +++ b/helpdesk_mgmt_template/i18n/helpdesk_mgmt_template.pot @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * helpdesk_mgmt_template +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.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: helpdesk_mgmt_template +#: model:ir.model.fields,field_description:helpdesk_mgmt_template.field_helpdesk_ticket__description +msgid "Description" +msgstr "" + +#. module: helpdesk_mgmt_template +#: model:ir.model,name:helpdesk_mgmt_template.model_helpdesk_ticket +msgid "Helpdesk Ticket" +msgstr "" + +#. module: helpdesk_mgmt_template +#: model:ir.model,name:helpdesk_mgmt_template.model_helpdesk_ticket_category +#: model:ir.model.fields,field_description:helpdesk_mgmt_template.field_helpdesk_ticket__helpdesk_ticket_category_ids +msgid "Helpdesk Ticket Category" +msgstr "" + +#. module: helpdesk_mgmt_template +#: model:ir.model.fields,field_description:helpdesk_mgmt_template.field_helpdesk_ticket_category__template_description +msgid "Template Description" +msgstr "" diff --git a/helpdesk_mgmt_template/i18n/it.po b/helpdesk_mgmt_template/i18n/it.po new file mode 100644 index 0000000000..7c9231f393 --- /dev/null +++ b/helpdesk_mgmt_template/i18n/it.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * helpdesk_mgmt_template +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2025-07-15 16:25+0000\n" +"Last-Translator: mymage \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 5.10.4\n" + +#. module: helpdesk_mgmt_template +#: model:ir.model.fields,field_description:helpdesk_mgmt_template.field_helpdesk_ticket__description +msgid "Description" +msgstr "Descrizione" + +#. module: helpdesk_mgmt_template +#: model:ir.model,name:helpdesk_mgmt_template.model_helpdesk_ticket +msgid "Helpdesk Ticket" +msgstr "Ticket assistenza clienti" + +#. module: helpdesk_mgmt_template +#: model:ir.model,name:helpdesk_mgmt_template.model_helpdesk_ticket_category +#: model:ir.model.fields,field_description:helpdesk_mgmt_template.field_helpdesk_ticket__helpdesk_ticket_category_ids +msgid "Helpdesk Ticket Category" +msgstr "Categoria ticket assistenza clienti" + +#. module: helpdesk_mgmt_template +#: model:ir.model.fields,field_description:helpdesk_mgmt_template.field_helpdesk_ticket_category__template_description +msgid "Template Description" +msgstr "Descrizione modello" diff --git a/helpdesk_mgmt_template/i18n/pt_BR.po b/helpdesk_mgmt_template/i18n/pt_BR.po new file mode 100644 index 0000000000..d147701dcb --- /dev/null +++ b/helpdesk_mgmt_template/i18n/pt_BR.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * helpdesk_mgmt_template +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2025-08-21 02:32+0000\n" +"Last-Translator: Marcel Savegnago \n" +"Language-Team: none\n" +"Language: pt_BR\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 5.10.4\n" + +#. module: helpdesk_mgmt_template +#: model:ir.model.fields,field_description:helpdesk_mgmt_template.field_helpdesk_ticket__description +msgid "Description" +msgstr "Descrição" + +#. module: helpdesk_mgmt_template +#: model:ir.model,name:helpdesk_mgmt_template.model_helpdesk_ticket +msgid "Helpdesk Ticket" +msgstr "Chamado da Central de Ajuda" + +#. module: helpdesk_mgmt_template +#: model:ir.model,name:helpdesk_mgmt_template.model_helpdesk_ticket_category +#: model:ir.model.fields,field_description:helpdesk_mgmt_template.field_helpdesk_ticket__helpdesk_ticket_category_ids +msgid "Helpdesk Ticket Category" +msgstr "Categoria do Chamado da Central de Ajuda" + +#. module: helpdesk_mgmt_template +#: model:ir.model.fields,field_description:helpdesk_mgmt_template.field_helpdesk_ticket_category__template_description +msgid "Template Description" +msgstr "Descrição do Modelo" diff --git a/helpdesk_mgmt_template/models/__init__.py b/helpdesk_mgmt_template/models/__init__.py new file mode 100644 index 0000000000..34fbc5efa7 --- /dev/null +++ b/helpdesk_mgmt_template/models/__init__.py @@ -0,0 +1,5 @@ +# Copyright (C) 2024 Cetmix OÜ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import helpdesk_ticket_category +from . import helpdesk_ticket diff --git a/helpdesk_mgmt_template/models/helpdesk_ticket.py b/helpdesk_mgmt_template/models/helpdesk_ticket.py new file mode 100644 index 0000000000..94e7e8d668 --- /dev/null +++ b/helpdesk_mgmt_template/models/helpdesk_ticket.py @@ -0,0 +1,41 @@ +# Copyright (C) 2024 Cetmix OÜ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + + +from odoo import api, fields, models + + +class HelpdeskTicket(models.Model): + _inherit = "helpdesk.ticket" + + description = fields.Html( + store=True, + compute="_compute_description", + readonly=False, + ) + helpdesk_ticket_category_ids = fields.Many2many( + "helpdesk.ticket.category", compute="_compute_helpdesk_ticket_category" + ) + + @api.depends("team_id") + def _compute_helpdesk_ticket_category(self): + for rec in self: + rec.helpdesk_ticket_category_ids = rec.team_id.category_ids + + @api.depends("category_id") + def _compute_description(self): + for record in self: + if record.category_id.template_description: + record.description = record.category_id.template_description + elif record.description: + record.description = record.description + else: + record.description = "

" + + def copy(self, default=None): + self.ensure_one() + if default is None: + default = {} + if "description" not in default: + default["description"] = "

" + return super().copy(default) diff --git a/helpdesk_mgmt_template/models/helpdesk_ticket_category.py b/helpdesk_mgmt_template/models/helpdesk_ticket_category.py new file mode 100644 index 0000000000..726eff4aa5 --- /dev/null +++ b/helpdesk_mgmt_template/models/helpdesk_ticket_category.py @@ -0,0 +1,10 @@ +# Copyright (C) 2024 Cetmix OÜ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class HelpdeskCategory(models.Model): + _inherit = "helpdesk.ticket.category" + + template_description = fields.Html(sanitize_style=True) diff --git a/helpdesk_mgmt_template/pyproject.toml b/helpdesk_mgmt_template/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/helpdesk_mgmt_template/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/helpdesk_mgmt_template/readme/CONFIGURE.md b/helpdesk_mgmt_template/readme/CONFIGURE.md new file mode 100644 index 0000000000..820dc8a579 --- /dev/null +++ b/helpdesk_mgmt_template/readme/CONFIGURE.md @@ -0,0 +1,9 @@ +**To Configure Ticket's Description Template** - Go to Helpdesk -\> +Configuration -\> Categories. - Create a new Category or select an +existing Category. - Set the *Template* field with pre-defined the +ticket's description that will be triggered based on the category +selected. + +**To configure available Categories for Teams** - Go to Helpdesk -\> +Configuration -\> Categories. - Create a new Team or select an existing +Team. - Select categories which are available for the Team. diff --git a/helpdesk_mgmt_template/readme/CONTRIBUTORS.md b/helpdesk_mgmt_template/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..9349c974ca --- /dev/null +++ b/helpdesk_mgmt_template/readme/CONTRIBUTORS.md @@ -0,0 +1,4 @@ +- [Cetmix OÜ](https://cetmix.com): + - Ivan Sokolov + - Mikhail Lapin + - Dessan Hemrayev diff --git a/helpdesk_mgmt_template/readme/DESCRIPTION.md b/helpdesk_mgmt_template/readme/DESCRIPTION.md new file mode 100644 index 0000000000..a7ab9cea18 --- /dev/null +++ b/helpdesk_mgmt_template/readme/DESCRIPTION.md @@ -0,0 +1,3 @@ +The module adds the following features: + +- Pre-configure ticket description template based on it's category diff --git a/helpdesk_mgmt_template/readme/USAGE.md b/helpdesk_mgmt_template/readme/USAGE.md new file mode 100644 index 0000000000..4905962c54 --- /dev/null +++ b/helpdesk_mgmt_template/readme/USAGE.md @@ -0,0 +1,8 @@ +**Go to Helpdesk module:** + +- Select a Team +- Open a Ticket +- Create a new Ticket +- Select Category +- Add a description or modify category description template (if + configured) diff --git a/helpdesk_mgmt_template/static/description/icon.png b/helpdesk_mgmt_template/static/description/icon.png new file mode 100644 index 0000000000..3a0328b516 Binary files /dev/null and b/helpdesk_mgmt_template/static/description/icon.png differ diff --git a/helpdesk_mgmt_template/static/description/index.html b/helpdesk_mgmt_template/static/description/index.html new file mode 100644 index 0000000000..a4d2929def --- /dev/null +++ b/helpdesk_mgmt_template/static/description/index.html @@ -0,0 +1,462 @@ + + + + + +README.rst + + + +
+ + + +Odoo Community Association + +
+

Helpdesk Management Template

+ +

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

+

The module adds the following features:

+
    +
  • Pre-configure ticket description template based on it’s category
  • +
+

Table of contents

+ +
+

Configuration

+

To Configure Ticket’s Description Template - Go to Helpdesk -> +Configuration -> Categories. - Create a new Category or select an +existing Category. - Set the Template field with pre-defined the +ticket’s description that will be triggered based on the category +selected.

+

To configure available Categories for Teams - Go to Helpdesk -> +Configuration -> Categories. - Create a new Team or select an existing +Team. - Select categories which are available for the Team.

+
+
+

Usage

+

Go to Helpdesk module:

+
    +
  • Select a Team
  • +
  • Open a Ticket
  • +
  • Create a new Ticket
  • +
  • Select Category
  • +
  • Add a description or modify category description template (if +configured)
  • +
+
+
+

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

+
    +
  • Cetmix OÜ
  • +
+
+
+

Contributors

+
    +
  • Cetmix OÜ:
      +
    • Ivan Sokolov
    • +
    • Mikhail Lapin
    • +
    • Dessan Hemrayev
    • +
    +
  • +
+
+
+

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/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_template/tests/__init__.py b/helpdesk_mgmt_template/tests/__init__.py new file mode 100644 index 0000000000..c49ed31723 --- /dev/null +++ b/helpdesk_mgmt_template/tests/__init__.py @@ -0,0 +1,4 @@ +# Copyright (C) 2024 Cetmix OÜ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import test_helpdesk_ticket diff --git a/helpdesk_mgmt_template/tests/test_helpdesk_ticket.py b/helpdesk_mgmt_template/tests/test_helpdesk_ticket.py new file mode 100644 index 0000000000..a2117d46ab --- /dev/null +++ b/helpdesk_mgmt_template/tests/test_helpdesk_ticket.py @@ -0,0 +1,172 @@ +# Copyright (C) 2024 Cetmix OÜ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo.tests.common import tagged + +from odoo.addons.helpdesk_mgmt.tests.common import TestHelpdeskTicketBase + + +@tagged("post_install", "-at_install") +class TestHelpdeskTicket(TestHelpdeskTicketBase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + helpdesk_ticket_category_obj = cls.env["helpdesk.ticket.category"] + cls.category_1 = helpdesk_ticket_category_obj.create( + {"name": "Category 1", "template_description": "

Description 1

"} + ) + cls.category_2 = helpdesk_ticket_category_obj.create( + {"name": "Category 2", "template_description": "

Description 2

"} + ) + cls.category_3 = helpdesk_ticket_category_obj.create( + {"name": "Category 3", "template_description": "

Description 3

"} + ) + helpdesk_ticket_team = cls.env["helpdesk.ticket.team"] + + cls.team_c = helpdesk_ticket_team.create( + { + "name": "Team C", + "user_ids": [(6, 0, [cls.user_team.id])], + "category_ids": [(6, 0, [cls.category_1.id, cls.category_3.id])], + } + ) + + def test_set_category(self): + """ + Test that setting a category on a ticket correctly sets + the category_id and description. + """ + # Check that the category_id is initially empty + self.assertFalse( + self.ticket_a_user_own.category_id, + msg="Initially, the category_id should be empty", + ) + + # Set the category_id to the id of category_1 + self.ticket_a_user_own.category_id = self.category_1.id + + # Check that the category_id has been correctly set + self.assertEqual( + self.ticket_a_user_own.category_id.id, + self.category_1.id, + msg=f"The category ID #{self.category_1.id} was not correctly set", + ) + + # Check that the description has been correctly + # set to the template_description of category_1 + self.assertEqual( + self.ticket_a_user_own.description, + self.category_1.template_description, + msg=( + "The description was not correctly set" + " to the template_description of Category 1" + ), + ) + self.ticket_a_user_own.category_id = False + self.assertEqual( + self.ticket_a_user_own.description, + self.category_1.template_description, + msg=( + "The description was not correctly set" + " to the template_description of Category 1" + ), + ) + + def test_check_available_team_categories(self): + """ + Test the availability of team categories and + their correct linking to the team and ticket. + """ + # Check that initially, a team should not have categories attached to it. + self.assertFalse( + self.ticket_a_user_own.helpdesk_ticket_category_ids, + msg="A team should not have categories attached to it.", + ) + + # Assign a team to the ticket and check that + # the categories are linked to the team. + self.ticket_a_user_own.team_id = self.team_c.id + related_category_ids = [self.category_1.id, self.category_3.id] + self.assertEqual( + self.ticket_a_user_own.helpdesk_ticket_category_ids.ids, + related_category_ids, + msg="Categories should be linked to the team.", + ) + + # Set the category_id of the ticket to the + # first category in the linked categories. + self.ticket_a_user_own.category_id = ( + self.ticket_a_user_own.helpdesk_ticket_category_ids[0] + ) + + # Check that the category_id has been correctly set. + self.assertEqual( + self.ticket_a_user_own.category_id.id, + self.category_1.id, + msg=f"The category ID #{self.category_1.id} was not correctly set", + ) + + def test_create_ticket_with_category(self): + """ + Test the creation of a ticket with a specific category and + verify that the category is correctly set. + """ + # Create a ticket with a specific category + ticket = self.env["helpdesk.ticket"].create( + { + "name": f"Ticket {self.team_c.name} (test)", + "team_id": self.team_c.id, + "user_id": False, + "description": "Test", + "category_id": self.category_1.id, + "priority": "1", + } + ) + + # Check that the category_id has been correctly set + self.assertEqual( + ticket.category_id.id, + self.category_1.id, + msg=f"The category ID #{self.category_1.id} was not correctly set", + ) + + def test_copy_resets_description(self): + """ + Duplicating a ticket must not carry over its description — that's a + deliberate override on `copy()`, since the description on the source + often contains case-specific notes that shouldn't bleed into a new + ticket. Verifies both branches of the override: + + - default is None / no description in default → forces

+ - caller-supplied description in default → respected as-is + """ + source = self.env["helpdesk.ticket"].create( + { + "name": "Ticket with case-specific notes", + "team_id": self.team_c.id, + "description": "

Customer-specific notes

", + } + ) + self.assertEqual(source.description, "

Customer-specific notes

") + + # 1. Default copy — description must NOT carry over. + duplicate = source.copy() + self.assertNotEqual( + duplicate.description, + source.description, + msg="copy() must not carry over the source's description", + ) + self.assertEqual( + duplicate.description, + "

", + msg="copy() should reset description to the empty

default", + ) + + # 2. Caller-supplied description in default — override must respect it. + duplicate2 = source.copy(default={"description": "

Reopened

"}) + self.assertEqual( + duplicate2.description, + "

Reopened

", + msg="copy() must honour an explicit description in default={}", + ) diff --git a/helpdesk_mgmt_template/views/helpdesk_ticket_category_views.xml b/helpdesk_mgmt_template/views/helpdesk_ticket_category_views.xml new file mode 100644 index 0000000000..80ef5b1855 --- /dev/null +++ b/helpdesk_mgmt_template/views/helpdesk_ticket_category_views.xml @@ -0,0 +1,24 @@ + + + + view.helpdesk_category.tree + helpdesk.ticket.category + + 99 + + + + + + + + view.helpdesk_category.form + helpdesk.ticket.category + + + + + + + + diff --git a/helpdesk_mgmt_template/views/helpdesk_ticket_team_views.xml b/helpdesk_mgmt_template/views/helpdesk_ticket_team_views.xml new file mode 100644 index 0000000000..283db08b90 --- /dev/null +++ b/helpdesk_mgmt_template/views/helpdesk_ticket_team_views.xml @@ -0,0 +1,13 @@ + + + + view.helpdesk_team.form + helpdesk.ticket.team + + + + + + + + diff --git a/helpdesk_mgmt_template/views/helpdesk_ticket_views.xml b/helpdesk_mgmt_template/views/helpdesk_ticket_views.xml new file mode 100644 index 0000000000..8695c6b956 --- /dev/null +++ b/helpdesk_mgmt_template/views/helpdesk_ticket_views.xml @@ -0,0 +1,19 @@ + + + + helpdesk.ticket.view.form + helpdesk.ticket + + 99 + + + + + + [('id', 'in', helpdesk_ticket_category_ids)] + + + + diff --git a/helpdesk_product/README.rst b/helpdesk_product/README.rst index c9f50c3ade..fb2707f1ca 100644 --- a/helpdesk_product/README.rst +++ b/helpdesk_product/README.rst @@ -11,7 +11,7 @@ Helpdesk Product !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:5d86e3fcf27e3e6839cbe246221ad91b272cda33f91e6ba1e32c99c04a2486c1 + !! source digest: sha256:8cdbc1d4b10ea675442c9ec6d087a6b8b7f0b42d9647e1acca04546dcc7b6977 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -32,7 +32,8 @@ Helpdesk Product |badge1| |badge2| |badge3| |badge4| |badge5| -This module adds the option to select product in the helpdesk tickets. +This module adds the option to select product in the helpdesk tickets +and view tickets related to products. **Table of contents** @@ -64,6 +65,10 @@ Contributors - Maria Buscallà +- `Tecnativa `__: + + - David Bañón Gil + Maintainers ----------- diff --git a/helpdesk_product/__manifest__.py b/helpdesk_product/__manifest__.py index 639a1291a7..b1e2e4943d 100644 --- a/helpdesk_product/__manifest__.py +++ b/helpdesk_product/__manifest__.py @@ -1,8 +1,8 @@ { "name": "Helpdesk Product", "summary": "Add the option to select product in the tickets.", - "author": "ForgeFlow, " "Odoo Community Association (OCA)", - "version": "18.0.1.0.1", + "author": "ForgeFlow, Odoo Community Association (OCA)", + "version": "18.0.1.1.0", "license": "AGPL-3", "category": "After-Sales", "website": "https://github.com/OCA/helpdesk", diff --git a/helpdesk_product/i18n/ar.po b/helpdesk_product/i18n/ar.po index 52d9b5f927..9e59cec83b 100644 --- a/helpdesk_product/i18n/ar.po +++ b/helpdesk_product/i18n/ar.po @@ -38,9 +38,17 @@ msgstr "" #. module: helpdesk_product #: model:ir.model,name:helpdesk_product.model_helpdesk_ticket +#: model:ir.model.fields,field_description:helpdesk_product.field_product_product__helpdesk_ticket_ids +#: model:ir.model.fields,field_description:helpdesk_product.field_product_template__helpdesk_ticket_ids msgid "Helpdesk Ticket" msgstr "" +#. module: helpdesk_product +#: model:ir.model.fields,field_description:helpdesk_product.field_product_product__helpdesk_ticket_count +#: model:ir.model.fields,field_description:helpdesk_product.field_product_template__helpdesk_ticket_count +msgid "Helpdesk Ticket Count" +msgstr "" + #. module: helpdesk_product #: model:ir.model,name:helpdesk_product.model_product_template #: model:ir.model.fields,field_description:helpdesk_product.field_helpdesk_ticket__product_id @@ -53,15 +61,27 @@ msgstr "" msgid "Product Related" msgstr "" +#. module: helpdesk_product +#: model:ir.model,name:helpdesk_product.model_product_product +msgid "Product Variant" +msgstr "" + #. module: helpdesk_product #: model:ir.actions.act_window,name:helpdesk_product.product_template_action_helpdesk #: model:ir.ui.menu,name:helpdesk_product.action_menu_view_products msgid "Products" msgstr "" +#. module: helpdesk_product +#: model_terms:ir.ui.view,arch_db:helpdesk_product.product_view_template +msgid "Tickets" +msgstr "" + #. module: helpdesk_product #: model_terms:ir.actions.act_window,help:helpdesk_product.product_template_action_helpdesk msgid "" -"You currently have no products available for Helpdesk Tickets.
A product can\n" -" be either a physical product or a service that you sell to your customers." +"You currently have no products available for Helpdesk Tickets.
A " +"product can\n" +" be either a physical product or a service that you sell to " +"your customers." msgstr "" diff --git a/helpdesk_product/i18n/fr.po b/helpdesk_product/i18n/fr.po index 1f72cd422c..f1dbc76c31 100644 --- a/helpdesk_product/i18n/fr.po +++ b/helpdesk_product/i18n/fr.po @@ -39,9 +39,17 @@ msgstr "Assistance" #. module: helpdesk_product #: model:ir.model,name:helpdesk_product.model_helpdesk_ticket +#: model:ir.model.fields,field_description:helpdesk_product.field_product_product__helpdesk_ticket_ids +#: model:ir.model.fields,field_description:helpdesk_product.field_product_template__helpdesk_ticket_ids msgid "Helpdesk Ticket" msgstr "Ticket d'assistance" +#. module: helpdesk_product +#: model:ir.model.fields,field_description:helpdesk_product.field_product_product__helpdesk_ticket_count +#: model:ir.model.fields,field_description:helpdesk_product.field_product_template__helpdesk_ticket_count +msgid "Helpdesk Ticket Count" +msgstr "" + #. module: helpdesk_product #: model:ir.model,name:helpdesk_product.model_product_template #: model:ir.model.fields,field_description:helpdesk_product.field_helpdesk_ticket__product_id @@ -54,17 +62,29 @@ msgstr "Produit" msgid "Product Related" msgstr "Produit lié" +#. module: helpdesk_product +#: model:ir.model,name:helpdesk_product.model_product_product +msgid "Product Variant" +msgstr "" + #. module: helpdesk_product #: model:ir.actions.act_window,name:helpdesk_product.product_template_action_helpdesk #: model:ir.ui.menu,name:helpdesk_product.action_menu_view_products msgid "Products" msgstr "Produits" +#. module: helpdesk_product +#: model_terms:ir.ui.view,arch_db:helpdesk_product.product_view_template +msgid "Tickets" +msgstr "" + #. module: helpdesk_product #: model_terms:ir.actions.act_window,help:helpdesk_product.product_template_action_helpdesk msgid "" -"You currently have no products available for Helpdesk Tickets.
A product can\n" -" be either a physical product or a service that you sell to your customers." +"You currently have no products available for Helpdesk Tickets.
A " +"product can\n" +" be either a physical product or a service that you sell to " +"your customers." msgstr "" "Vous n'avez actuellement aucun produit configuré pour les tickets " "d'assistance.
Un produit peut\n" diff --git a/helpdesk_product/i18n/helpdesk_product.pot b/helpdesk_product/i18n/helpdesk_product.pot index d0a7f834bd..2cb8fb5175 100644 --- a/helpdesk_product/i18n/helpdesk_product.pot +++ b/helpdesk_product/i18n/helpdesk_product.pot @@ -36,9 +36,17 @@ msgstr "" #. module: helpdesk_product #: model:ir.model,name:helpdesk_product.model_helpdesk_ticket +#: model:ir.model.fields,field_description:helpdesk_product.field_product_product__helpdesk_ticket_ids +#: model:ir.model.fields,field_description:helpdesk_product.field_product_template__helpdesk_ticket_ids msgid "Helpdesk Ticket" msgstr "" +#. module: helpdesk_product +#: model:ir.model.fields,field_description:helpdesk_product.field_product_product__helpdesk_ticket_count +#: model:ir.model.fields,field_description:helpdesk_product.field_product_template__helpdesk_ticket_count +msgid "Helpdesk Ticket Count" +msgstr "" + #. module: helpdesk_product #: model:ir.model,name:helpdesk_product.model_product_template #: model:ir.model.fields,field_description:helpdesk_product.field_helpdesk_ticket__product_id @@ -51,12 +59,22 @@ msgstr "" msgid "Product Related" msgstr "" +#. module: helpdesk_product +#: model:ir.model,name:helpdesk_product.model_product_product +msgid "Product Variant" +msgstr "" + #. module: helpdesk_product #: model:ir.actions.act_window,name:helpdesk_product.product_template_action_helpdesk #: model:ir.ui.menu,name:helpdesk_product.action_menu_view_products msgid "Products" msgstr "" +#. module: helpdesk_product +#: model_terms:ir.ui.view,arch_db:helpdesk_product.product_view_template +msgid "Tickets" +msgstr "" + #. module: helpdesk_product #: model_terms:ir.actions.act_window,help:helpdesk_product.product_template_action_helpdesk msgid "" diff --git a/helpdesk_product/i18n/it.po b/helpdesk_product/i18n/it.po index 47f08c9055..6336595393 100644 --- a/helpdesk_product/i18n/it.po +++ b/helpdesk_product/i18n/it.po @@ -39,9 +39,17 @@ msgstr "Assistenza clienti" #. module: helpdesk_product #: model:ir.model,name:helpdesk_product.model_helpdesk_ticket +#: model:ir.model.fields,field_description:helpdesk_product.field_product_product__helpdesk_ticket_ids +#: model:ir.model.fields,field_description:helpdesk_product.field_product_template__helpdesk_ticket_ids msgid "Helpdesk Ticket" msgstr "Ticket assistenza clienti" +#. module: helpdesk_product +#: model:ir.model.fields,field_description:helpdesk_product.field_product_product__helpdesk_ticket_count +#: model:ir.model.fields,field_description:helpdesk_product.field_product_template__helpdesk_ticket_count +msgid "Helpdesk Ticket Count" +msgstr "" + #. module: helpdesk_product #: model:ir.model,name:helpdesk_product.model_product_template #: model:ir.model.fields,field_description:helpdesk_product.field_helpdesk_ticket__product_id @@ -54,12 +62,22 @@ msgstr "Prodotto" msgid "Product Related" msgstr "Prodotto relativo" +#. module: helpdesk_product +#: model:ir.model,name:helpdesk_product.model_product_product +msgid "Product Variant" +msgstr "" + #. module: helpdesk_product #: model:ir.actions.act_window,name:helpdesk_product.product_template_action_helpdesk #: model:ir.ui.menu,name:helpdesk_product.action_menu_view_products msgid "Products" msgstr "Prodotti" +#. module: helpdesk_product +#: model_terms:ir.ui.view,arch_db:helpdesk_product.product_view_template +msgid "Tickets" +msgstr "" + #. module: helpdesk_product #: model_terms:ir.actions.act_window,help:helpdesk_product.product_template_action_helpdesk msgid "" diff --git a/helpdesk_product/i18n/pt.po b/helpdesk_product/i18n/pt.po index fb1baa988d..3060173939 100644 --- a/helpdesk_product/i18n/pt.po +++ b/helpdesk_product/i18n/pt.po @@ -39,9 +39,17 @@ msgstr "" #. module: helpdesk_product #: model:ir.model,name:helpdesk_product.model_helpdesk_ticket +#: model:ir.model.fields,field_description:helpdesk_product.field_product_product__helpdesk_ticket_ids +#: model:ir.model.fields,field_description:helpdesk_product.field_product_template__helpdesk_ticket_ids msgid "Helpdesk Ticket" msgstr "Ticket de Helpdesk" +#. module: helpdesk_product +#: model:ir.model.fields,field_description:helpdesk_product.field_product_product__helpdesk_ticket_count +#: model:ir.model.fields,field_description:helpdesk_product.field_product_template__helpdesk_ticket_count +msgid "Helpdesk Ticket Count" +msgstr "" + #. module: helpdesk_product #: model:ir.model,name:helpdesk_product.model_product_template #: model:ir.model.fields,field_description:helpdesk_product.field_helpdesk_ticket__product_id @@ -54,12 +62,22 @@ msgstr "Artigo" msgid "Product Related" msgstr "Artigos Relacionados" +#. module: helpdesk_product +#: model:ir.model,name:helpdesk_product.model_product_product +msgid "Product Variant" +msgstr "" + #. module: helpdesk_product #: model:ir.actions.act_window,name:helpdesk_product.product_template_action_helpdesk #: model:ir.ui.menu,name:helpdesk_product.action_menu_view_products msgid "Products" msgstr "Artigos" +#. module: helpdesk_product +#: model_terms:ir.ui.view,arch_db:helpdesk_product.product_view_template +msgid "Tickets" +msgstr "" + #. module: helpdesk_product #: model_terms:ir.actions.act_window,help:helpdesk_product.product_template_action_helpdesk msgid "" diff --git a/helpdesk_product/i18n/pt_BR.po b/helpdesk_product/i18n/pt_BR.po index 28f6f7e840..ba39c93a66 100644 --- a/helpdesk_product/i18n/pt_BR.po +++ b/helpdesk_product/i18n/pt_BR.po @@ -39,9 +39,17 @@ msgstr "" #. module: helpdesk_product #: model:ir.model,name:helpdesk_product.model_helpdesk_ticket +#: model:ir.model.fields,field_description:helpdesk_product.field_product_product__helpdesk_ticket_ids +#: model:ir.model.fields,field_description:helpdesk_product.field_product_template__helpdesk_ticket_ids msgid "Helpdesk Ticket" msgstr "Chamado" +#. module: helpdesk_product +#: model:ir.model.fields,field_description:helpdesk_product.field_product_product__helpdesk_ticket_count +#: model:ir.model.fields,field_description:helpdesk_product.field_product_template__helpdesk_ticket_count +msgid "Helpdesk Ticket Count" +msgstr "" + #. module: helpdesk_product #: model:ir.model,name:helpdesk_product.model_product_template #: model:ir.model.fields,field_description:helpdesk_product.field_helpdesk_ticket__product_id @@ -54,12 +62,22 @@ msgstr "Produto" msgid "Product Related" msgstr "Produto Relacionado" +#. module: helpdesk_product +#: model:ir.model,name:helpdesk_product.model_product_product +msgid "Product Variant" +msgstr "" + #. module: helpdesk_product #: model:ir.actions.act_window,name:helpdesk_product.product_template_action_helpdesk #: model:ir.ui.menu,name:helpdesk_product.action_menu_view_products msgid "Products" msgstr "Produtos" +#. module: helpdesk_product +#: model_terms:ir.ui.view,arch_db:helpdesk_product.product_view_template +msgid "Tickets" +msgstr "" + #. module: helpdesk_product #: model_terms:ir.actions.act_window,help:helpdesk_product.product_template_action_helpdesk msgid "" diff --git a/helpdesk_product/i18n/sv.po b/helpdesk_product/i18n/sv.po index 86f64659fb..08d11a2dcc 100644 --- a/helpdesk_product/i18n/sv.po +++ b/helpdesk_product/i18n/sv.po @@ -39,9 +39,17 @@ msgstr "Helpdesk" #. module: helpdesk_product #: model:ir.model,name:helpdesk_product.model_helpdesk_ticket +#: model:ir.model.fields,field_description:helpdesk_product.field_product_product__helpdesk_ticket_ids +#: model:ir.model.fields,field_description:helpdesk_product.field_product_template__helpdesk_ticket_ids msgid "Helpdesk Ticket" msgstr "Helpdeskärende" +#. module: helpdesk_product +#: model:ir.model.fields,field_description:helpdesk_product.field_product_product__helpdesk_ticket_count +#: model:ir.model.fields,field_description:helpdesk_product.field_product_template__helpdesk_ticket_count +msgid "Helpdesk Ticket Count" +msgstr "" + #. module: helpdesk_product #: model:ir.model,name:helpdesk_product.model_product_template #: model:ir.model.fields,field_description:helpdesk_product.field_helpdesk_ticket__product_id @@ -54,17 +62,29 @@ msgstr "Produkt" msgid "Product Related" msgstr "Relaterad produkt" +#. module: helpdesk_product +#: model:ir.model,name:helpdesk_product.model_product_product +msgid "Product Variant" +msgstr "" + #. module: helpdesk_product #: model:ir.actions.act_window,name:helpdesk_product.product_template_action_helpdesk #: model:ir.ui.menu,name:helpdesk_product.action_menu_view_products msgid "Products" msgstr "Produkter" +#. module: helpdesk_product +#: model_terms:ir.ui.view,arch_db:helpdesk_product.product_view_template +msgid "Tickets" +msgstr "" + #. module: helpdesk_product #: model_terms:ir.actions.act_window,help:helpdesk_product.product_template_action_helpdesk msgid "" -"You currently have no products available for Helpdesk Tickets.
A product can\n" -" be either a physical product or a service that you sell to your customers." +"You currently have no products available for Helpdesk Tickets.
A " +"product can\n" +" be either a physical product or a service that you sell to " +"your customers." msgstr "" "Du har för närvarande inga produkter tillgängliga för Helpdesk-ärenden.
" "En produkt kan\n" diff --git a/helpdesk_product/models/helpdesk_ticket.py b/helpdesk_product/models/helpdesk_ticket.py index 26c91e2dbc..5c7775c50e 100644 --- a/helpdesk_product/models/helpdesk_ticket.py +++ b/helpdesk_product/models/helpdesk_ticket.py @@ -4,4 +4,8 @@ class HelpdeskTicket(models.Model): _inherit = "helpdesk.ticket" - product_id = fields.Many2one(string="Product", comodel_name="product.product") + product_id = fields.Many2one( + string="Product", + comodel_name="product.product", + domain=[("ticket_active", "=", True)], + ) diff --git a/helpdesk_product/models/product.py b/helpdesk_product/models/product.py index fa4ec4f15a..0d59de3ad2 100644 --- a/helpdesk_product/models/product.py +++ b/helpdesk_product/models/product.py @@ -1,9 +1,60 @@ -from odoo import fields, models +from odoo import api, fields, models -class Product(models.Model): +class ProductTemplate(models.Model): _inherit = "product.template" - ticket_active = fields.Boolean( - "Available for Helpdesk Tickets", default=True, required=True + ticket_active = fields.Boolean("Available for Helpdesk Tickets", default=True) + helpdesk_ticket_ids = fields.One2many( + related="product_variant_ids.helpdesk_ticket_ids" ) + helpdesk_ticket_count = fields.Integer(compute="_compute_helpdesk_ticket_count") + + @api.depends("helpdesk_ticket_ids") + def _compute_helpdesk_ticket_count(self): + for template in self: + template.helpdesk_ticket_count = len(template.helpdesk_ticket_ids) + + def action_view_helpdesk_tickets(self, product=None): + product = product or self + product.ensure_one() + action = self.env["ir.actions.actions"]._for_xml_id( + "helpdesk_mgmt.helpdesk_ticket_action" + ) + if product.helpdesk_ticket_count <= 1: + ticket = fields.first(product.helpdesk_ticket_ids) + product_id = False + if product.is_product_variant or len(product.product_variant_ids) == 1: + product_id = product.product_variant_id.id + action.update( + { + "res_id": ticket.id, + "views": [(False, "form")], + "context": {"default_product_id": product_id}, + } + ) + else: + action.update( + { + "domain": [("id", "in", product.helpdesk_ticket_ids.ids)], + } + ) + return action + + +class ProductProduct(models.Model): + _inherit = "product.product" + + helpdesk_ticket_ids = fields.One2many( + comodel_name="helpdesk.ticket", inverse_name="product_id" + ) + helpdesk_ticket_count = fields.Integer(compute="_compute_helpdesk_ticket_count") + + @api.depends("helpdesk_ticket_ids") + def _compute_helpdesk_ticket_count(self): + for template in self: + template.helpdesk_ticket_count = len(template.helpdesk_ticket_ids) + + def action_view_helpdesk_tickets(self): + self.ensure_one() + return self.product_tmpl_id.action_view_helpdesk_tickets(product=self) diff --git a/helpdesk_product/readme/CONTRIBUTORS.md b/helpdesk_product/readme/CONTRIBUTORS.md index 109df4a27e..2dfe37499b 100644 --- a/helpdesk_product/readme/CONTRIBUTORS.md +++ b/helpdesk_product/readme/CONTRIBUTORS.md @@ -1,2 +1,4 @@ - [ForgeFlow](https://www.forgeflow.com): - Maria Buscallà \<\> +- [Tecnativa](https://www.tecnativa.com): + - David Bañón Gil diff --git a/helpdesk_product/readme/DESCRIPTION.md b/helpdesk_product/readme/DESCRIPTION.md index 522e1c55dc..4cc1973e01 100644 --- a/helpdesk_product/readme/DESCRIPTION.md +++ b/helpdesk_product/readme/DESCRIPTION.md @@ -1 +1 @@ -This module adds the option to select product in the helpdesk tickets. +This module adds the option to select product in the helpdesk tickets and view tickets related to products. diff --git a/helpdesk_product/static/description/index.html b/helpdesk_product/static/description/index.html index 3ecc1abfba..4200199370 100644 --- a/helpdesk_product/static/description/index.html +++ b/helpdesk_product/static/description/index.html @@ -372,10 +372,11 @@

Helpdesk Product

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:5d86e3fcf27e3e6839cbe246221ad91b272cda33f91e6ba1e32c99c04a2486c1 +!! source digest: sha256:8cdbc1d4b10ea675442c9ec6d087a6b8b7f0b42d9647e1acca04546dcc7b6977 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

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

-

This module adds the option to select product in the helpdesk tickets.

+

This module adds the option to select product in the helpdesk tickets +and view tickets related to products.

Table of contents

+
  • Tecnativa:
      +
    • David Bañón Gil
    • +
    +
  • diff --git a/helpdesk_product/views/product_view.xml b/helpdesk_product/views/product_view.xml index 2aa785269e..54dd8acb0e 100644 --- a/helpdesk_product/views/product_view.xml +++ b/helpdesk_product/views/product_view.xml @@ -12,6 +12,21 @@
    +
    + +
    diff --git a/setup/_metapackage/pyproject.toml b/setup/_metapackage/pyproject.toml index 4b70cbf032..bcbf043a6f 100644 --- a/setup/_metapackage/pyproject.toml +++ b/setup/_metapackage/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "odoo-addons-oca-helpdesk" -version = "18.0.20260601.0" +version = "18.0.20260611.0" dependencies = [ "odoo-addon-helpdesk_mgmt==18.0.*", "odoo-addon-helpdesk_mgmt_activity==18.0.*", @@ -18,6 +18,7 @@ dependencies = [ "odoo-addon-helpdesk_mgmt_sale_project==18.0.*", "odoo-addon-helpdesk_mgmt_sla==18.0.*", "odoo-addon-helpdesk_mgmt_stage_validation==18.0.*", + "odoo-addon-helpdesk_mgmt_template==18.0.*", "odoo-addon-helpdesk_mgmt_timesheet==18.0.*", "odoo-addon-helpdesk_motive==18.0.*", "odoo-addon-helpdesk_portal_priority==18.0.*",