#5449
[auf_rh_dae.git] / project / rh / managers.py
index ff8f303..f51093a 100644 (file)
@@ -252,13 +252,8 @@ class DossierComparaisonManager(SecurityManager):
     prefixe_implantation = "implantation__zone_administrative"
 
 
-class DeviseManager(models.Manager):
-    pass
-
-
-class ServiceManager(models.Manager):
-    pass
+class ArchivableManager(models.Manager):
 
-
-class TypeRemunerationManager(models.Manager):
-    pass
+    def get_query_set(self):
+        return super(ArchivableManager, self).get_query_set() \
+                .filter(archive=False)