diff --git a/helpdesk_mgmt_fieldservice/README.rst b/helpdesk_mgmt_fieldservice/README.rst index 876e43003..bd76c462b 100644 --- a/helpdesk_mgmt_fieldservice/README.rst +++ b/helpdesk_mgmt_fieldservice/README.rst @@ -97,6 +97,7 @@ Contributors - Open Source Integrators - Serpent Consulting Services Pvt. Ltd. - Marcel Savegnago +- Italo Lopes Maintainers ----------- diff --git a/helpdesk_mgmt_fieldservice/__manifest__.py b/helpdesk_mgmt_fieldservice/__manifest__.py index 833e08257..eae202372 100644 --- a/helpdesk_mgmt_fieldservice/__manifest__.py +++ b/helpdesk_mgmt_fieldservice/__manifest__.py @@ -5,7 +5,7 @@ "name": "Helpdesk Mgmt Fieldservice", "summary": """ Create service orders from a ticket""", - "version": "16.0.1.0.0", + "version": "17.0.1.0.0", "license": "AGPL-3", "author": "Open Source Integrators, " "Escodoo, " diff --git a/helpdesk_mgmt_fieldservice/models/fsm_location.py b/helpdesk_mgmt_fieldservice/models/fsm_location.py index 970fa48c3..f32a12d98 100644 --- a/helpdesk_mgmt_fieldservice/models/fsm_location.py +++ b/helpdesk_mgmt_fieldservice/models/fsm_location.py @@ -26,7 +26,7 @@ def action_view_ticket(self): action["context"] = {} if len(ticket_ids) == 1: action["views"] = [ - (self.env.ref("helpdesk_mgmt.ticket_view_form").id, "form") + (self.env.ref("helpdesk_mgmt.helpdesk_ticket_view_form").id, "form") ] action["res_id"] = ticket_ids.ids[0] else: diff --git a/helpdesk_mgmt_fieldservice/models/res_partner.py b/helpdesk_mgmt_fieldservice/models/res_partner.py index 597a17a0c..c1d3f44c6 100644 --- a/helpdesk_mgmt_fieldservice/models/res_partner.py +++ b/helpdesk_mgmt_fieldservice/models/res_partner.py @@ -10,10 +10,10 @@ def action_view_helpdesk_tickets(self): ) and self.env.user.has_group("helpdesk_mgmt.group_helpdesk_user_own"): context = dict(self.env.context) context.pop("search_default_open", None) - self = self.with_context( + context_self = self.with_context( context, default_partner_id=self.id, default_fsm_location_id=self.service_location_id.id, ) - return super(ResPartner, self).action_view_helpdesk_tickets() + return super(ResPartner, context_self).action_view_helpdesk_tickets() return super().action_view_helpdesk_tickets diff --git a/helpdesk_mgmt_fieldservice/readme/CONTRIBUTORS.md b/helpdesk_mgmt_fieldservice/readme/CONTRIBUTORS.md index 5c436b08d..a809a153a 100644 --- a/helpdesk_mgmt_fieldservice/readme/CONTRIBUTORS.md +++ b/helpdesk_mgmt_fieldservice/readme/CONTRIBUTORS.md @@ -2,3 +2,4 @@ - Open Source Integrators \<\> - Serpent Consulting Services Pvt. Ltd. \<\> - Marcel Savegnago \<\> +- Italo Lopes \<\> diff --git a/helpdesk_mgmt_fieldservice/static/description/index.html b/helpdesk_mgmt_fieldservice/static/description/index.html index 5653f532c..e23fdca4f 100644 --- a/helpdesk_mgmt_fieldservice/static/description/index.html +++ b/helpdesk_mgmt_fieldservice/static/description/index.html @@ -448,6 +448,7 @@

Contributors

  • Open Source Integrators <contact@opensourceintegrators.com>
  • Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
  • Marcel Savegnago <marcel.savegnago@escodoo.com.br>
  • +
  • Italo Lopes <italo.lopes@camptocamp.com>
  • diff --git a/helpdesk_mgmt_fieldservice/views/helpdesk_ticket_views.xml b/helpdesk_mgmt_fieldservice/views/helpdesk_ticket_views.xml index e46b3b757..aae8771db 100644 --- a/helpdesk_mgmt_fieldservice/views/helpdesk_ticket_views.xml +++ b/helpdesk_mgmt_fieldservice/views/helpdesk_ticket_views.xml @@ -8,46 +8,43 @@ helpdesk.ticket.service.request.form helpdesk.ticket - + - -