Ignore:
Timestamp:
18 Jul 2007, 13:44:13 (17 years ago)
Author:
joachim
Message:

add course too registered_courses only for current_level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/create_level.py

    r2031 r2033  
    130130        course_result = getattr(level,cr_id)
    131131        context.portal_workflow.doActionFor(course_result,'open')
    132         d['core_or_elective'] = getattr(c.getObject().getContent(),'core_or_elective')
     132        #d['core_or_elective'] = getattr(c.getObject().getContent(),'core_or_elective')
     133        d['core_or_elective'] = True
    133134        course_result.getContent().edit(mapping=d)
    134135        context.waeup_tool.doCommit()
Note: See TracChangeset for help on using the changeset viewer.