From 8aedd8c4ca7419e4ffc8c259a20ae905aaf7f42a Mon Sep 17 00:00:00 2001 From: LorenzoC0 Date: Fri, 11 Oct 2024 17:12:52 +0200 Subject: [PATCH] [MIG] helpdesk_mgmt_sla: Migration to 16.0.1.0.0 --- helpdesk_mgmt_sla/README.rst | 10 +++++----- helpdesk_mgmt_sla/__manifest__.py | 2 +- helpdesk_mgmt_sla/models/helpdesk_ticket_team.py | 1 - helpdesk_mgmt_sla/static/description/index.html | 6 +++--- helpdesk_mgmt_sla/views/helpdesk_sla_views.xml | 1 + setup/helpdesk_mgmt_sla/odoo/addons/helpdesk_mgmt_sla | 1 + setup/helpdesk_mgmt_sla/setup.py | 6 ++++++ 7 files changed, 17 insertions(+), 10 deletions(-) create mode 120000 setup/helpdesk_mgmt_sla/odoo/addons/helpdesk_mgmt_sla create mode 100644 setup/helpdesk_mgmt_sla/setup.py diff --git a/helpdesk_mgmt_sla/README.rst b/helpdesk_mgmt_sla/README.rst index e014ace60e..8c8d555a10 100644 --- a/helpdesk_mgmt_sla/README.rst +++ b/helpdesk_mgmt_sla/README.rst @@ -17,13 +17,13 @@ Helpdesk Ticket SLA :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/15.0/helpdesk_mgmt_sla + :target: https://github.com/OCA/helpdesk/tree/16.0/helpdesk_mgmt_sla :alt: OCA/helpdesk .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/helpdesk-15-0/helpdesk-15-0-helpdesk_mgmt_sla + :target: https://translation.odoo-community.org/projects/helpdesk-16-0/helpdesk-16-0-helpdesk_mgmt_sla :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=15.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/helpdesk&target_branch=16.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -63,7 +63,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. @@ -96,6 +96,6 @@ 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. +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_sla/__manifest__.py b/helpdesk_mgmt_sla/__manifest__.py index 8546b5f980..12e3db3cb8 100644 --- a/helpdesk_mgmt_sla/__manifest__.py +++ b/helpdesk_mgmt_sla/__manifest__.py @@ -7,7 +7,7 @@ "website": "https://github.com/OCA/helpdesk", "license": "AGPL-3", "category": "After-Sales", - "version": "15.0.1.0.0", + "version": "16.0.1.0.0", "depends": ["base", "helpdesk_mgmt", "resource"], "data": [ "data/helpdesk_sla_cron.xml", diff --git a/helpdesk_mgmt_sla/models/helpdesk_ticket_team.py b/helpdesk_mgmt_sla/models/helpdesk_ticket_team.py index a190cbe118..94147b64c5 100644 --- a/helpdesk_mgmt_sla/models/helpdesk_ticket_team.py +++ b/helpdesk_mgmt_sla/models/helpdesk_ticket_team.py @@ -12,5 +12,4 @@ class HelpdeskTicketTeam(models.Model): "resource.calendar", "Working Hours", default=lambda self: self.env.company.resource_calendar_id, - domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]", ) diff --git a/helpdesk_mgmt_sla/static/description/index.html b/helpdesk_mgmt_sla/static/description/index.html index 8f34075d37..6a71c8a3b4 100644 --- a/helpdesk_mgmt_sla/static/description/index.html +++ b/helpdesk_mgmt_sla/static/description/index.html @@ -369,7 +369,7 @@

Helpdesk Ticket SLA

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:116a87d45869f7b5ab9828c9e900cc42006af21ca37b381f0194bfeee58ac20f !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

This module adds SLA funcionality in Helpdesk module.

Table of contents

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

@@ -447,7 +447,7 @@

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

+

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_sla/views/helpdesk_sla_views.xml b/helpdesk_mgmt_sla/views/helpdesk_sla_views.xml index d0fd669296..76e91c6be0 100644 --- a/helpdesk_mgmt_sla/views/helpdesk_sla_views.xml +++ b/helpdesk_mgmt_sla/views/helpdesk_sla_views.xml @@ -76,6 +76,7 @@ name="note" placeholder="Description of the policy..." nolabel="1" + colspan="2" /> diff --git a/setup/helpdesk_mgmt_sla/odoo/addons/helpdesk_mgmt_sla b/setup/helpdesk_mgmt_sla/odoo/addons/helpdesk_mgmt_sla new file mode 120000 index 0000000000..e42f94cc95 --- /dev/null +++ b/setup/helpdesk_mgmt_sla/odoo/addons/helpdesk_mgmt_sla @@ -0,0 +1 @@ +../../../../helpdesk_mgmt_sla \ No newline at end of file diff --git a/setup/helpdesk_mgmt_sla/setup.py b/setup/helpdesk_mgmt_sla/setup.py new file mode 100644 index 0000000000..28c57bb640 --- /dev/null +++ b/setup/helpdesk_mgmt_sla/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)