fix restore recherche temporelle
[auf_rh_dae.git] / project / rh / admin.py
index 592f030..91cf1a2 100644 (file)
@@ -351,6 +351,7 @@ class DeviseAdmin(reversion.VersionAdmin, ArchivableAdmin,
 
 class DossierAdmin(DateRangeMixin, ProtectRegionMixin, reversion.VersionAdmin,
                    AjaxSelect, DerniereModificationAdmin, BaseAdmin):
+    change_list_template = "admin/rh/dossier/change_list.html"
     ignore_duplicate_revisions = True
     alphabet_filter = 'employe__nom'
     search_fields = (
@@ -695,6 +696,7 @@ class EmployeAdminBase(DateRangeMixin, ProtectRegionMixin,
 
 
 class EmployeAdmin(reversion.VersionAdmin, EmployeAdminBase):
+    change_list_template = "admin/rh/employe/change_list.html"
     ignore_duplicate_revisions = True
 
 
@@ -764,6 +766,7 @@ class OrganismeBstgAdmin(reversion.VersionAdmin, DerniereModificationAdmin,
 
 class PosteAdmin(DateRangeMixin, ProtectRegionMixin, reversion.VersionAdmin,
                  AjaxSelect, DerniereModificationAdmin, BaseAdmin):
+    change_list_template = "admin/rh/poste/change_list.html"
     ignore_duplicate_revisions = True
     form = make_ajax_form(rh.Poste, {
         'implantation': 'implantations',