Minister criticized over proposed draft of code of conduct