Ignore:
Timestamp:
22 Apr 2014, 14:46:45 (11 years ago)
Author:
Henrik Bettermann
Message:

Do not construct matric number if no certificate is assigned.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py

    r11589 r11590  
    542542        if student.matric_number is not None:
    543543            return _('Matriculation number already set.'), None
     544        if student.certcode is None:
     545            return _('No certificate assigned.'), None
    544546        try:
    545547            student.matric_number = self._constructMatricNumber(
Note: See TracChangeset for help on using the changeset viewer.