Abstract: In this talk we consider type II string compactifications on Calabi-Yau orientifolds with fluxes and D-branes and analyse the F-term scalar potential that simultaneously involves closed and open string modes. We focus on the cases of type IIA orientifolds with D6-branes and type IIB orientifolds with D7-branes. In type IIA models with D6-branes this potential can be directly computed by integrating out Minkowski three-forms showing therefore a multi-branched structure along the space of lifted open string moduli in which discrete shifts of brane moduli are compensated by changes in the RR flux quanta. To obtain the correct form of the scalar potential we find strong constraints on the Kähler potential implying some interesting no-scale relations obeyed by the Kähler metric. Importantly the addition of open string moduli breaks the factorisation between complex structure and Kähler moduli spaces. We conclude by discussing the mirror dual picture of type IIB flux compactifications with D7-brane Wilson lines.