alphabet_filter = 'employe__nom'
search_fields = ('employe__nom', 'employe__prenom', 'poste__nom', 'poste__nom_feminin')
list_display = ('_id', '_employe', '_actif', '_poste', 'date_debut', 'date_fin', 'date_modification')
- list_filter = ('poste__implantation__region', 'poste__implantation', )
+ list_filter = (
+ 'poste__implantation__region',
+ 'poste__implantation',
+ 'poste__type_poste',
+ 'poste__type_poste__famille_emploi',
+ )
inlines = (DossierPieceInline, ContratInline,
RemunerationInline,
#EvenementInline,
'actif__exact',
'poste__implantation__region__id__exact',
'poste__implantation__id__exact',
+ 'poste__type_poste__id__exact',
+ 'poste__type_poste__famille_emploi__id__exact',
):
return True