Hi
You can add a field as given below in the model for state (eg, res.country.state)
So that you can set the domain in for the field state_id as
Similarly, you can add a field state_id in the model for city(eg: res.city) as,
And you can set the domain in for the field city_id as
Hope it helps