# HG changeset patch
# Parent 0764cf061d021a0a5b2811f5ec5d835f799630fc
Index: addons/openacademy/views/session_workflow.xml
===================================================================
--- addons.orig/openacademy/views/session_workflow.xml	2014-08-26 17:26:17.339783114 +0200
+++ addons/openacademy/views/session_workflow.xml	2014-08-26 17:26:17.331783114 +0200
@@ -6,24 +6,50 @@
             True
         
 
+        
+            Set session to Draft
+            
+            
+model.search([('id', 'in', context['active_ids'])]).action_draft()
+            
+        
         
             Draft
             
             
-            function
-            action_draft()
+            dummy
+            
+            
+        
+
+        
+            Set session to Confirmed
+            
+            
+model.search([('id', 'in', context['active_ids'])]).action_confirm()
+            
         
         
             Confirmed
             
-            function
-            action_confirm()
+            dummy
+            
+            
+        
+
+        
+            Set session to Done
+            
+            
+model.search([('id', 'in', context['active_ids'])]).action_done()
+            
         
         
             Done
             
-            function
-            action_done()
+            dummy
+            
+