From 88642fdfa9c76f9f08b90ffd24ac1cd87642f6c5 Mon Sep 17 00:00:00 2001 From: Maksim Shurupov Date: Mon, 4 Nov 2024 19:42:34 +0300 Subject: [PATCH] [FIX] helpdesk_mgmt_activity: Update stage after create activity is fixed and for activity set default activity user or current user --- helpdesk_mgmt_activity/models/helpdesk_ticket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk_mgmt_activity/models/helpdesk_ticket.py b/helpdesk_mgmt_activity/models/helpdesk_ticket.py index 1c46e4140f..529ceb3175 100644 --- a/helpdesk_mgmt_activity/models/helpdesk_ticket.py +++ b/helpdesk_mgmt_activity/models/helpdesk_ticket.py @@ -141,7 +141,6 @@ def perform_action(self): date_deadline=self.date_deadline, activity_type_id=self.source_activity_type_id.id, ticket_id=self.id, - user_id=self.assigned_user_id.id, ) self.set_next_stage() except Exception as e: @@ -152,5 +151,6 @@ def perform_action(self): "params": { "type": "success", "message": _("Activity has been created!"), + "next": {"type": "ir.actions.act_window_close"}, }, }