Retailer Coles Myer has sacked its supermarket and merchandise boss Peter Scott for "breaching the company's code of conduct."