Index: /WAeUP_SRP/base/skins/waeup_student/reserve_accommodation.py
===================================================================
--- /WAeUP_SRP/base/skins/waeup_student/reserve_accommodation.py	(revision 3119)
+++ /WAeUP_SRP/base/skins/waeup_student/reserve_accommodation.py	(revision 3120)
@@ -46,4 +46,11 @@
     validate = REQUEST.has_key("cpsdocument_edit_button")
     if info['maintenance_paid']:
+        if not info['acco_doc'].acco_maint_fee:
+            d_update = {}
+            hall_info = context.waeup_tool.getHallInfo(info['acco_doc'].bed)
+            d_update['acco_maint_fee'] = hall_info.get('maintenance_fee')
+            wftool.doActionFor(info['acco'],'reserve_bed')
+            info['acco_doc'].edit(mapping=d_update)
+            wftool.doActionFor(info['acco'],'pay_maintenance_fee')
         return context.REQUEST.RESPONSE.redirect("%s/accommodation_view" % info['acco'].absolute_url())
     # elif info['online_payment']:
Index: /WAeUP_SRP/fceokene/profiles/default/workflows/waeup_student_accommodation_wf/definition.xml
===================================================================
--- /WAeUP_SRP/fceokene/profiles/default/workflows/waeup_student_accommodation_wf/definition.xml	(revision 3119)
+++ /WAeUP_SRP/fceokene/profiles/default/workflows/waeup_student_accommodation_wf/definition.xml	(revision 3120)
@@ -23,4 +23,5 @@
  <state state_id="maintenance_fee_paid" title="">
   <exit-transition transition_id="remove"/>
+  <exit-transition transition_id="reserve_bed"/>
  </state>
  <state state_id="removed" title="">
@@ -29,5 +30,5 @@
              new_state="maintenance_fee_paid" trigger="USER"
              before_script="" after_script="">
-  
+
   <guard>
   </guard>
@@ -36,5 +37,5 @@
              new_state="removed" trigger="USER"
              before_script="" after_script="">
-  
+
   <guard>
   </guard>
@@ -43,5 +44,5 @@
              new_state="bed_reserved" trigger="USER"
              before_script="" after_script="">
-  
+
   <guard>
   </guard>
