The oath to do an action needs many conditions to be valid; e.g. the action should be valid by itself. Oath on an action which is Haraam is invalid e.g. an oath not to talk to his brother or any relative or a believer is invalid.
Oath of the wife is invalid if it clashes with the rights of her husband.
Husband can invalidate the oath of his wife.
Oath of the son or daughter against the wish of their father is invalid.