Mixing them both together increases your risk for seizure. There's a whole list of drug interactions online.
Tramadol can act like more of a anti depressant for some with mood boosting abilities...codiene can be more of a downer, so the drugs will be fighting against one another.