Changeset 15515


Ignore:
Timestamp:
24 Jul 2019, 20:41:06 (5 years ago)
Author:
Henrik Bettermann
Message:

Do it right (hopefully).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/applicants/export.py

    r15514 r15515  
    6666        if name in ('course1', 'course2') and context is not None:
    6767            applicant = context.__parent__
    68             value = getattr(applicant, name.code, None)
     68            value = getattr(getattr(applicant, name, None), code, None)
    6969        return super(
    7070            CustomApplicantPaymentExporter, self).mangle_value(
Note: See TracChangeset for help on using the changeset viewer.