Term:

Androdioecy (androdioecious)
Definition:

Referring to the sexual condition of a species that bears only staminate flowers on some plants but staminate and pistillate flowers or bisexual flowers on other plants.