From 954ead19b2b55b7b2c38f7bb1e450156db50bb94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Larchev=C3=AAque?= Date: Thu, 26 Jan 2012 16:13:36 -0500 Subject: [PATCH] gere les postes inactifs --- project/rh/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/rh/admin.py b/project/rh/admin.py index c929139..3807e10 100644 --- a/project/rh/admin.py +++ b/project/rh/admin.py @@ -544,7 +544,7 @@ class PosteAdmin(AUFMetadataAdminMixin, ProtectRegionMixin, admin.ModelAdmin, Aj """Formatte la méthode Poste.occupe_par() pour l'admin""" output = u"Vacant" if obj.actif is False: - return u"-" + return u"s/o" employes = obj.occupe_par() if employes: l = [] -- 1.7.10.4