Spanish grocery retailer Eroski has sold a portfolio of 27 supermarkets in northern Spain and the Balearic Islands to sale and leaseback specialist WP Carey.