If odors still remain or becomes again after the above process. So, there is something wrong in the drain hose. Sometimes you noticed that after the each washing there is water in the machine floor which has not be drained. No worry in this case, please follow as described below;
Disconnect the power and pull out the dishwasher.
Check the hose and make sure that it is not bend.
Remove the hose and wash it with pressured water, it will remove if some particles stuck inside the drain.
Sometimes waste water from the sink coming into the dishwasher and stay in the hose, please make the hose level little up to prevent for this case.