I have one model "Inventario" like this:
class Inventario(models.Model):
producto = models.ForeignKey(Producto)
cantidad = models.DecimalField(default=0, decimal_places=2, max_digits=10)
ubicacion = models.ForeignKey(Ubicacion, null=True, blank=True, related_name='en_inventario')
epc = models.CharField(max_length=25)
serial = models.CharField(max_length=35)
fecha = models.DateTimeField(auto_now_add=True)
def __unicode__(self):
return '%s (%s)' % (self.producto.item, self.epc)
and registered in the admin.py like this:
from almacen.models import Inventario
admin.site.register(Inventario)
The List of Entries are shown in the Admin
But inside the details of one of that entries, nothing appears

Even if I try to save and continue, an error is thrown

What is happening? This error is affecting only this Model
