It does and it's a good decision from the club, but I'd say it's unlikely they'd then sell in the same window, given that the player also has to agree to a new contract. If there's known interest, the player isn't going to sign a new deal and potentially cost themselves a move.
Not saying it can't happen, just that it's highly unlikely to happen.