Add get_last_changes method to tarifs affinitic refs #5837