diff --git a/helpdesk_mgmt_activity/models/helpdesk_ticket.py b/helpdesk_mgmt_activity/models/helpdesk_ticket.py index 1c46e4140..529ceb317 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"}, }, }