A first step towards realistic calculations of parity-mixing effects in heavy nuclei