def __unicode__(self):
return u'%s' % (self.nom)
+
+class ResponsableImplantation(models.Model):
+ """Le responsable d'une implantation.
+ Anciennement géré sur le Dossier du responsable.
+ """
+ employe = models.ForeignKey('Employe', null=True, blank=True)
+ implantation = models.ForeignKey(ref.Implantation, unique=True)
+
+ def __unicode__(self):
+ return u'%s : %s' % (self.implantation, self.employe)
+
+ class Meta:
+ ordering = ['implantation__nom']