Modified logic of detail pages transitions, in order to be able to link
clienti, contratti and OdS.