Commit c6b59bd6 authored by Jérome Perrin's avatar Jérome Perrin

crm,credential: repair Ticket_getWorkflowStateTranslatedTitle for ERP5 workflow

`state_var` is now a compatibility alias calling getStateVariable, which
has a default value of `simulation_state`. As a result, this script was
attempting to call getSimulationStateTranslatedTitle on credential
requests, because they have an interaction workflow in their chain.

This fixes by implementing the full logic using new ERP5 workflow API.
parent 1832ca00
Pipeline #29717 failed with stage
in 0 seconds