Term:

Gynomonoecy (gynomonoecious)
Definition:

Referring to a sexual condition of a species that bears pistillate flowers and bisexual flowers on same plants.