Index: /main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py
===================================================================
--- /main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py	(revision 15659)
+++ /main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py	(revision 15660)
@@ -40,4 +40,14 @@
     #: passport pictures is allowed.
     PORTRAIT_CHANGE_STATES = (ADMITTED, CLEARANCE,)
+
+    def warnCreditsOOR(self, studylevel, course=None):
+        """Return message if credits are out of range. In the base
+        package only maximum credits is set.
+        """
+        if course and studylevel.total_credits + course.credits > 120:
+            return _('Maximum credits exceeded.')
+        elif studylevel.total_credits > 120:
+            return _('Maximum credits exceeded.')
+        return
 
     def setPaymentDetails(self, category, student,
