Index: /main/waeup.fceokene/trunk/src/waeup/fceokene/students/studylevel.py
===================================================================
--- /main/waeup.fceokene/trunk/src/waeup/fceokene/students/studylevel.py	(revision 14405)
+++ /main/waeup.fceokene/trunk/src/waeup/fceokene/students/studylevel.py	(revision 14406)
@@ -31,4 +31,18 @@
     ICustomStudentStudyLevel, ICustomCourseTicket)
 
+def getGradeWeightFromScore(score):
+    if score is None:
+        return (None, None)
+    if score >= 70:
+        return ('A',5)
+    if score >= 60:
+        return ('B',4)
+    if score >= 50:
+        return ('C',3)
+    if score >= 45:
+        return ('D',2)
+    if score >= 40:
+        return ('E',1)
+    return ('F',0)
 
 class CustomStudentStudyLevel(StudentStudyLevel):
@@ -68,4 +82,16 @@
         return True
 
+    @property
+    def grade(self):
+        """Returns the grade calculated from total score.
+        """
+        return getGradeWeightFromScore(self.total_score, self.student)[0]
+
+    @property
+    def weight(self):
+        """Returns the weight calculated from total score.
+        """
+        return getGradeWeightFromScore(self.total_score, self.student)[1]
+
 CustomCourseTicket = attrs_to_fields(CustomCourseTicket)
 
Index: /main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
===================================================================
--- /main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py	(revision 14405)
+++ /main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py	(revision 14406)
@@ -248,5 +248,5 @@
         self.certificate.study_mode = 'ug_ft'
         error, payment = utils.setPaymentDetails('schoolfee',self.student)
-        self.assertEqual(payment.amount_auth,  61300.0)
+        self.assertEqual(payment.amount_auth,  56300.0)
         self.assertEqual(error, None)
         # UG cleared students pay 65650
