Ignore:
Timestamp:
13 Mar 2013, 12:12:10 (12 years ago)
Author:
Henrik Bettermann
Message:

getTransitions is a method of StudentTriggerTransitionFormPage?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py

    r9993 r10025  
    2828    StudyLevelEditFormPage, StudyLevelDisplayFormPage,
    2929    StudentBasePDFFormPage, ExportPDFCourseRegistrationSlipPage,
    30     CourseTicketDisplayFormPage,
     30    CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage,
    3131    msave, emit_lock_message)
    3232from waeup.kofa.students.interfaces import IStudentsUtils, ICourseTicket
     
    4646from waeup.uniben.interfaces import MessageFactory as _
    4747
    48 class CustomStudentBaseManageFormPage(NigeriaStudentBaseManageFormPage):
     48class CustomStudentTriggerTransitionFormPage(StudentTriggerTransitionFormPage):
    4949    """ View to manage student base data
    5050    """
    51     #grok.context(ICustomStudent)
    5251
    5352    def getTransitions(self):
     
    5857        transition.
    5958        """
    60         allowed_transitions = [t for t in self.wf_info.getManualTransitions()
     59        wf_info = IWorkflowInfo(self.context)
     60        allowed_transitions = [t for t in wf_info.getManualTransitions()
    6161            if not t[0].startswith('pay')]
    6262        if self.context.is_postgrad and not self.context.is_special_postgrad:
Note: See TracChangeset for help on using the changeset viewer.