Skip to content

Commit

Permalink
[FIX] helpdesk_mgmt_activity: Update stage after create activity is f…
Browse files Browse the repository at this point in the history
…ixed and for activity set default activity user or current user
  • Loading branch information
geomer198 committed Nov 4, 2024
1 parent 2c3d806 commit 88642fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpdesk_mgmt_activity/models/helpdesk_ticket.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -152,5 +151,6 @@ def perform_action(self):
"params": {
"type": "success",
"message": _("Activity has been created!"),
"next": {"type": "ir.actions.act_window_close"},
},
}

0 comments on commit 88642fd

Please sign in to comment.