diff --git a/helpdesk_mgmt_sale/README.rst b/helpdesk_mgmt_sale/README.rst index cccca9c1a5..1add284fbe 100644 --- a/helpdesk_mgmt_sale/README.rst +++ b/helpdesk_mgmt_sale/README.rst @@ -10,9 +10,9 @@ Helpdesk Sale Order !! source digest: sha256:9058b48ff43b86b6c8dd426fccf2d6ccf02d75989c508e82bee02b5bfe550bcf !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png +.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png :target: https://odoo-community.org/page/development-status - :alt: Beta + :alt: Production/Stable .. |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 diff --git a/helpdesk_mgmt_sale/__manifest__.py b/helpdesk_mgmt_sale/__manifest__.py index 7905cda0e1..eff6b8c4a5 100644 --- a/helpdesk_mgmt_sale/__manifest__.py +++ b/helpdesk_mgmt_sale/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Helpdesk Sale Order", "summary": "Add the option to select project in the sale orders.", - "version": "15.0.2.1.0", + "version": "17.0.1.0.0", "license": "AGPL-3", "category": "Sales Management", "author": "Tecnativa," "Odoo Community Association (OCA)", @@ -13,6 +13,6 @@ "views/helpdesk_ticket_views.xml", "views/sale_order_views.xml", ], - "development_status": "Beta", + "development_status": "Production/Stable", "auto_install": True, } diff --git a/helpdesk_mgmt_sale/migrations/15.0.2.0.0/post-migration.py b/helpdesk_mgmt_sale/migrations/15.0.2.0.0/post-migration.py deleted file mode 100644 index fb87fc5670..0000000000 --- a/helpdesk_mgmt_sale/migrations/15.0.2.0.0/post-migration.py +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2024 Tecnativa - Pilar Vargas -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openupgradelib import openupgrade - - -def convert_sale_order_tickets(env): - openupgrade.m2o_to_x2m( - env.cr, - env["sale.order"], - "sale_order", - "ticket_ids", - "ticket_id", - ) - - -@openupgrade.migrate() -def migrate(env, version): - convert_sale_order_tickets(env) diff --git a/helpdesk_mgmt_sale/static/description/index.html b/helpdesk_mgmt_sale/static/description/index.html index cc332323b4..21bd1cf9bf 100644 --- a/helpdesk_mgmt_sale/static/description/index.html +++ b/helpdesk_mgmt_sale/static/description/index.html @@ -369,7 +369,7 @@
This module extends the Helpdesk functionality in Odoo to allow an
integration between Helpdesk tickets and sales orders. A ticket can have
several sales orders associated with it, which in turn will have the
diff --git a/helpdesk_mgmt_sale/tests/test_helpdesk_ticket.py b/helpdesk_mgmt_sale/tests/test_helpdesk_ticket.py
index a8946e29b9..1a142276f1 100644
--- a/helpdesk_mgmt_sale/tests/test_helpdesk_ticket.py
+++ b/helpdesk_mgmt_sale/tests/test_helpdesk_ticket.py
@@ -1,9 +1,9 @@
# Copyright (C) 2024 Tecnativa - Pilar Vargas
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-from odoo.tests.common import TransactionCase
+from odoo.addons.base.tests.common import BaseCommon
-class TestHelpdeskTicketSale(TransactionCase):
+class TestHelpdeskTicketSale(BaseCommon):
@classmethod
def setUpClass(cls):
super().setUpClass()
diff --git a/helpdesk_mgmt_sale/views/helpdesk_ticket_views.xml b/helpdesk_mgmt_sale/views/helpdesk_ticket_views.xml
index 7f4c831be7..16455a4745 100644
--- a/helpdesk_mgmt_sale/views/helpdesk_ticket_views.xml
+++ b/helpdesk_mgmt_sale/views/helpdesk_ticket_views.xml
@@ -5,10 +5,6 @@