I'm trying to make it so when an IT tech is assigned to a Helpdesk ticket, the Ticket's stage goes from 'New' to 'Assigned'. However, when I add the tech, the stage doesn't change. I have seen that 'onchange' doesn't work in the event that you have a clickable Statusbar widget, which we have set up for our tickets. Unfortunately, I haven't seen a good workaround, but perhaps I'm missing something. Can anyone give me some suggestions?
for ticket in self:
ticket.stage_id.sequence = 1