Changeset 1057 for WAeUP_SRP/trunk


Ignore:
Timestamp:
14 Dec 2006, 10:39:04 (18 years ago)
Author:
joachim
Message:

change students name also in student_catalog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/waeup_edit.py

    r1025 r1057  
    5757                                                  department = c_path[-3],
    5858                                                  )
     59    elif context.portal_type in ("StudentPersonal",):
     60        name = "%(firstname) %(middlename)s %(lastname)s" % ds
     61        student_id = context.getStudentId()
     62        context.students_catalog.modifyRecord(id = student_id,
     63                                              name = name,
     64                                              sex = ds.get('sex'),
     65                                             )
    5966    if cpsdocument_edit_and_view_button is not None:
    6067        action = ''
Note: See TracChangeset for help on using the changeset viewer.