fixes
[auf_rh_dae.git] / project / rh / lib.py
index 72d0e92..a19d4c6 100644 (file)
@@ -675,7 +675,7 @@ def calc_remun(dossier):
         thisyear = datetime.date.today().year
         thisyearfilter = Q(date_debut__year=thisyear) | Q(date_fin__year=thisyear)
 
-        remunnow = dossier.rh_remuneration_remunerations.filter(thisyearfilter)
+        remunnow = dossier.rh_remunerations.filter(thisyearfilter)
 
         remun_sum = 0
         remun_sum_euro = 0