Spanish retailer Eroski has entered into a sale-and-leaseback deal with WP Carey & Co., the global investment management company.