abstract = True
def taux_devise(self):
- annee = self.dossier.poste.date_debut.year
+ annee = self.dossier.contrat_date_debut.year:
taux = [tc.taux for tc in TauxChange.objects.filter(devise=self.devise, annee=annee)]
taux = set(taux)
if len(taux) != 1: