diff --git a/helpdesk_mgmt_crm/README.rst b/helpdesk_mgmt_crm/README.rst index 2a79cc923f..a1b9bade52 100644 --- a/helpdesk_mgmt_crm/README.rst +++ b/helpdesk_mgmt_crm/README.rst @@ -17,13 +17,13 @@ Link between Helpdesk and CRM :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/13.0/helpdesk_mgmt_crm + :target: https://github.com/OCA/helpdesk/tree/15.0/helpdesk_mgmt_crm :alt: OCA/helpdesk .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/helpdesk-13-0/helpdesk-13-0-helpdesk_mgmt_crm + :target: https://translation.odoo-community.org/projects/helpdesk-15-0/helpdesk-15-0-helpdesk_mgmt_crm :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=13.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/helpdesk&target_branch=15.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -53,7 +53,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. @@ -72,6 +72,7 @@ Contributors * Víctor Martínez * Pedro M. Baeza + * Pilar Vargas Maintainers ~~~~~~~~~~~ @@ -94,6 +95,6 @@ Current `maintainer `__: |maintainer-victoralmau| -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_crm/__manifest__.py b/helpdesk_mgmt_crm/__manifest__.py index 7f6a507cc3..d0e39bad00 100644 --- a/helpdesk_mgmt_crm/__manifest__.py +++ b/helpdesk_mgmt_crm/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Link between Helpdesk and CRM", "summary": "Links helpdesk tickets with leads", - "version": "13.0.1.0.1", + "version": "15.0.1.0.1", "category": "After-Sales", "website": "https://github.com/OCA/helpdesk", "author": "Tecnativa, Odoo Community Association (OCA)", @@ -11,6 +11,7 @@ "depends": ["helpdesk_mgmt", "crm"], "external_dependencies": {"python": ["html2text"]}, "data": [ + "security/ir.model.access.csv", "wizard/helpdesk_ticket_create_lead_views.xml", "views/crm_lead_view.xml", "views/helpdesk_ticket_view.xml", diff --git a/helpdesk_mgmt_crm/readme/CONTRIBUTORS.rst b/helpdesk_mgmt_crm/readme/CONTRIBUTORS.rst index 5fb7130530..5d761f00a0 100644 --- a/helpdesk_mgmt_crm/readme/CONTRIBUTORS.rst +++ b/helpdesk_mgmt_crm/readme/CONTRIBUTORS.rst @@ -2,3 +2,4 @@ * Víctor Martínez * Pedro M. Baeza + * Pilar Vargas diff --git a/helpdesk_mgmt_crm/security/ir.model.access.csv b/helpdesk_mgmt_crm/security/ir.model.access.csv new file mode 100644 index 0000000000..7e3d6935db --- /dev/null +++ b/helpdesk_mgmt_crm/security/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +helpdesk_mgmt_crm.access_helpdesk_ticket_create_lead,access_helpdesk_ticket_create_lead,helpdesk_mgmt_crm.model_helpdesk_ticket_create_lead,base.group_user,1,0,0,0 +helpdesk_mgmt_crm.access_helpdesk_ticket_create_lead,access_helpdesk_ticket_create_lead,helpdesk_mgmt_crm.model_helpdesk_ticket_create_lead,sales_team.group_sale_salesman,1,1,1,1 + diff --git a/helpdesk_mgmt_crm/static/description/index.html b/helpdesk_mgmt_crm/static/description/index.html index fd846dc3fe..5bbe2c671d 100644 --- a/helpdesk_mgmt_crm/static/description/index.html +++ b/helpdesk_mgmt_crm/static/description/index.html @@ -1,4 +1,3 @@ - @@ -369,7 +368,7 @@

Link between Helpdesk and CRM

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:e4949b62cea363d636d67d6d8d8327c15674c38e905148455981c9ecaed8aca6 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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 allows you to convert a helpdesk ticket into an opportunity, transferring its messages, and keeping both linked.

Table of contents

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

@@ -419,6 +418,7 @@

Contributors

  • Tecnativa:
    • Víctor Martínez
    • Pedro M. Baeza
    • +
    • Pilar Vargas
  • @@ -432,7 +432,7 @@

    Maintainers

    promote its widespread use.

    Current maintainer:

    victoralmau

    -

    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_crm/tests/test_helpdesk_mgmt_crm.py b/helpdesk_mgmt_crm/tests/test_helpdesk_mgmt_crm.py index 55edb925af..628ecdb8f7 100644 --- a/helpdesk_mgmt_crm/tests/test_helpdesk_mgmt_crm.py +++ b/helpdesk_mgmt_crm/tests/test_helpdesk_mgmt_crm.py @@ -7,7 +7,7 @@ from odoo.tests.common import new_test_user, users -class TestHelpdeskMgmtCrm(common.SavepointCase): +class TestHelpdeskMgmtCrm(common.TransactionCase): @classmethod def setUpClass(cls): super().setUpClass() @@ -42,7 +42,7 @@ def test_action_lead_create(self): subtype_ids=[self.env.ref("mail.mt_comment").id], ) # pylint: disable=translation-required - self.ticket.message_post(body="Ejemplo", subtype="mail.mt_comment") + self.ticket.message_post(body="Ejemplo", subtype_xmlid="mail.mt_comment") self.assertIn( self.ticket.partner_id, self.ticket.mapped("message_follower_ids.partner_id"), @@ -63,7 +63,7 @@ def test_action_lead_create(self): self.assertEqual(self.ticket.user_id, self.ticket.lead_ids.user_id) self.assertEqual( html2text.html2text(self.ticket.description), - self.ticket.lead_ids.description, + html2text.html2text(self.ticket.lead_ids.description), ) self.assertGreater(len(self.ticket.lead_ids.message_ids), len(old_messages)) self.assertGreater(len(self.ticket.message_ids), len(old_messages))