We study the interplay of disorder and interaction effects including bosonic degrees of freedom in the framework of a generic one-dimensional transport model, the Anderson-Edwards model. Using the density-matrix renormalization group technique, we extract the localization length and the renormalization of the Tomonaga Luttinger liquid parameter from the charge-structure factor by a elaborate sample-average finite-size scaling procedure. The properties of the Anderson localized state can be described in terms of scaling relations of the metallic phase without disorder. We analyze how disorder competes with the charge-density-wave correlations triggered by the bosons and give evidence that strong disorder will destroy the charge-ordered state.