Changeset 15514 for main/kofacustom.dspg/trunk/src/kofacustom
- Timestamp:
- 24 Jul 2019, 20:36:52 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/applicants/export.py
r15513 r15514 61 61 """ 62 62 if name in ('applicant_id', 'reg_number', 63 'display_fullname' , 'course1', 'course2') and context is not None:63 'display_fullname') and context is not None: 64 64 applicant = context.__parent__ 65 65 value = getattr(applicant, name, None) 66 if name in ('course1', 'course2') and context is not None: 67 applicant = context.__parent__ 68 value = getattr(applicant, name.code, None) 66 69 return super( 67 70 CustomApplicantPaymentExporter, self).mangle_value(
Note: See TracChangeset for help on using the changeset viewer.