Hey! Sims sex has nothing to do with their ability to have a baby. You adjust their ability to impregnate, get pregnant, both or none in CAS Gender Settings. You haven't mentioned if you've done that but that is necessary for pregnancy to occur no matter if Sims are male, female or other.
If you want a Sim to be able to both impregnate and get pregnant, get my other mod.