So I have three models, Product, Sale and Code. Each Product belongs to a Code model (it\'s similar to a User) and each Sale has a field for the Code who is selling the Product