Shakhtar and Fiorentina have reached an agreement on the transfer of the defender Dodo to the Italian club.