Changeset 17848


Ignore:
Timestamp:
14 Jul 2024, 15:51:22 (2 months ago)
Author:
Henrik Bettermann
Message:

Add verdict field.

Location:
main/waeup.uniben/trunk/src/waeup/uniben/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py

    r17845 r17848  
    11051105        msave(self, **data)
    11061106        self.context.nysc_updated = datetime.utcnow()
     1107        self.context.nysc_processed = False
    11071108        return
    11081109
  • main/waeup.uniben/trunk/src/waeup/uniben/students/interfaces.py

    r17835 r17848  
    2222    academic_sessions_vocab)
    2323from waeup.kofa.students.vocabularies import StudyLevelSource
     24from waeup.kofa.students.interfaces import VerdictSource
    2425from kofacustom.nigeria.interfaces import GradingSystemSource
    2526from waeup.kofa.schema import FormattedDate
     
    242243        )
    243244
     245    nysc_verdict = schema.Choice(
     246        title = _(u'Verdict'),
     247        source = VerdictSource(),
     248        default = '0',
     249        required = False,
     250        )
     251
    244252    nysc_senate_info = schema.TextLine(
    245253        title = _(u'Senate Info'),
Note: See TracChangeset for help on using the changeset viewer.