Ignore:
Timestamp:
31 Oct 2015, 07:48:41 (9 years ago)
Author:
Henrik Bettermann
Message:

Make date_of_birth optional. Otherwise we can't copy application data.

Location:
main/waeup.aaue/trunk/src/waeup/aaue
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/tests/test_applicantcopier.py

    r11617 r13368  
    4747        self.browser.getControl("Save").click()
    4848        self.browser.getControl(name="form.nationality").value = ['NG']
     49        self.browser.getControl(name="form.lga").value = ['abia_aba_north']
    4950        self.browser.getControl(name="form.course_admitted").value = ['CERT1']
    5051        self.browser.getControl(name="form.programme_type").value = ['regular']
     52        # Date of birth is not required
     53        self.browser.getControl(name="form.date_of_birth").value = ''
    5154
    5255        self.browser.getControl(name="form.fst_sit_fname").value = 'Alfons'
  • main/waeup.aaue/trunk/src/waeup/aaue/students/interfaces.py

    r13362 r13368  
    195195    """
    196196
    197     date_of_birth = FormattedDate(
    198         title = _(u'Date of Birth'),
    199         required = True,
    200         show_year = True,
    201         )
     197    #date_of_birth = FormattedDate(
     198    #    title = _(u'Date of Birth'),
     199    #    required = True,
     200    #    show_year = True,
     201    #    )
    202202
    203203    lga = schema.Choice(
     
    209209ICustomUGStudentClearance['lga'].order = INigeriaUGStudentClearance[
    210210    'lga'].order
    211 ICustomUGStudentClearance['date_of_birth'].order = INigeriaUGStudentClearance[
    212     'date_of_birth'].order
     211#ICustomUGStudentClearance['date_of_birth'].order = INigeriaUGStudentClearance[
     212#    'date_of_birth'].order
    213213
    214214
Note: See TracChangeset for help on using the changeset viewer.