Changeset 16923


Ignore:
Timestamp:
14 Apr 2022, 10:26:20 (2 years ago)
Author:
Henrik Bettermann
Message:

Remove some elements from required_fields list.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/batching.py

    r15829 r16923  
    3131    iface_byregnumber = ICustomApplicantUpdateByRegNo
    3232
     33    @property
     34    def required_fields(self):
     35        """
     36        """
     37        result = super(CustomApplicantProcessor, self).required_fields
     38        result.remove('subj_comb')
     39        result.remove('school')
     40        return result
     41
    3342class CustomApplicantOnlinePaymentProcessor(ApplicantOnlinePaymentProcessor):
    3443    """A batch processor for ICustomStudentOnlinePayment objects.
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/interfaces.py

    r16918 r16923  
    191191        title = _(u'1st Choice TPZ and School'),
    192192        source = TPUSchoolSource(),
    193         required = False,
     193        required = True,
    194194        )
    195195
     
    276276        title = _(u'1st Choice UTP and School'),
    277277        source = UTPSchoolSource(),
    278         required = False,
     278        required = True,
    279279        )
    280280
Note: See TracChangeset for help on using the changeset viewer.