Bugfix pour organigrammes
authorJean-Philippe Caissy <jpcaissy@piji.ca>
Fri, 30 Mar 2012 15:28:37 +0000 (10:28 -0500)
committerJean-Philippe Caissy <jpcaissy@piji.ca>
Fri, 30 Mar 2012 15:38:17 +0000 (10:38 -0500)
project/rh/views.py

index 914b269..9aba051 100644 (file)
@@ -491,7 +491,7 @@ def organigrammes_employe(request, id, level="all"):
             if postes_niveau:
                 for p in postes_niveau:
                     if graph.has_node(p):
-                        graph.remove_node(p)
+                        graph.delete_node(p)
 
     a = graph
     a.name = name.encode('ascii', 'xmlcharrefreplace')