Index: /WAeUP_SRP/trunk/WAeUPImport.py
===================================================================
--- /WAeUP_SRP/trunk/WAeUPImport.py	(revision 3862)
+++ /WAeUP_SRP/trunk/WAeUPImport.py	(revision 3863)
@@ -885,5 +885,5 @@
         #           }
 
-        sub_types = ['StudentApplication','StudentClearance','StudentPersonal']
+        sub_types = ['StudentApplication','StudentClearance','StudentPersonal','StudentStudyCourse']
         non_image_keys = {}
         for i in sub_types:
@@ -912,6 +912,8 @@
                     #headline = ','.join(fields).replace('level','current_level')
                     headline = ','.join(fields)
+                    headline = headline + ',password'
                     open(export_file,"a").write(headline +'\n')
                 format = '"%(' + ')s","%('.join(fields) + ')s"'
+                format = format + ',"%(password)s"'
                 res = self.students_catalog(id = student_id)
                 student = res[0]
@@ -926,4 +928,8 @@
                     for f in toexport[k]:
                         d[f] = getattr(object_doc,f,'')
+                if hasattr(stdir, student_id):
+                    d['password'] = self.waeup_tool.getCredential(student_id)
+                    stdir.deleteEntry(student_id)
+                self.waeup_tool.removePictureFolder(student_id)       
                 line.append(format % d)
                 open(export_file,"a").write('\n'.join(line) +'\n')
@@ -934,7 +940,5 @@
                 msg = "Student object not found"
                 break
-            if hasattr(stdir, student_id):
-                stdir.deleteEntry(student_id)
-            self.waeup_tool.removePictureFolder(student_id)            
+     
             break
         return student_id,msg,mapping     
Index: /WAeUP_SRP/trunk/skins/waeup_accommodation/getAccommodationInfo.py
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_accommodation/getAccommodationInfo.py	(revision 3862)
+++ /WAeUP_SRP/trunk/skins/waeup_accommodation/getAccommodationInfo.py	(revision 3863)
@@ -15,4 +15,6 @@
 logger = logging.getLogger('Skins.getAccommodationInfo')
 import DateTime
+
+booking_disabled = False
 
 request = context.REQUEST
@@ -121,4 +123,6 @@
     info['acco_review_state'] = wf.getInfoFor(acco,'review_state',None)
     info['maintenance_paid'] = info['acco_review_state'] == "maintenance_fee_paid"
+elif booking_disabled:
+    info['booking_allowed'] = False
 
 d = {}
@@ -147,3 +151,2 @@
 info['student_status'] = student_status
 return info
-
Index: /WAeUP_SRP/trunk/skins/waeup_epayment/getPaymentsFolderInfo.py
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_epayment/getPaymentsFolderInfo.py	(revision 3862)
+++ /WAeUP_SRP/trunk/skins/waeup_epayment/getPaymentsFolderInfo.py	(revision 3863)
@@ -73,8 +73,9 @@
 info['prod_id'] = '61'
 
+gown_records = aq_payments(Eq('student_id',student_id)  & Eq('category','gown'))
 try:
     level = int(student_record.level)
     end_level = int(student_record.end_level)
-    if level >= end_level:
+    if level >= end_level and not gown_records:
         info['gown'] = True
 except:
