Index: /main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/utils.py
===================================================================
--- /main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/utils.py	(revision 16477)
+++ /main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/utils.py	(revision 16478)
@@ -131,9 +131,4 @@
         # Determine fee.
         if category.startswith('schoolfee'):
-            penalty = getattr(academic_session, 'lsfp_penalty_fee')
-            if student.current_session < 2020 and \
-                penalty and not self._lsfp_penalty_paymentMade(
-                student, student.current_session):
-                return _('You have to pay late school fee payment penalty first.'), None
             try:
                 certificate = student['studycourse'].certificate
@@ -148,4 +143,9 @@
                     return _(u'Session configuration object '
                               'is not available.'), None
+            penalty = getattr(academic_session, 'lsfp_penalty_fee')
+            if p_session < 2020 and penalty and \
+                not self._lsfp_penalty_paymentMade(
+                student, student.current_session):
+                return _('You have to pay late school fee payment penalty first.'), None
             if p_level in PAYMENT_LEVELS:
                 amount = SCHOOL_FEES.get_fee(
