Ignore:
Timestamp:
5 Sep 2007, 14:22:09 (17 years ago)
Author:
Henrik Bettermann
Message:

tested and fixed
enable editing of payment objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_utilities/changeState.py

    r2179 r2180  
    1313"""
    1414
    15 if not transition
     15mtool = context.portal_membership
     16member = mtool.getAuthenticatedMember()
     17if str(member) not in ('admin','joachim') or transition is None:
    1618    return
    1719
    1820import logging
    1921logger = logging.getLogger('Skins.changeState')
    20 import DateTime
    2122
    2223pm = context.portal_membership
     
    3334
    3435wftool.doActionFor(student,transition)
    35 #wftool.doActionFor(student,'clear_and_validate')
    3636logger.info('%s executes transition %s for %s' % (member,transition,student_id))
    3737
    38 return request.RESPONSE.redirect("%s/waeup_document_view" % context.absolute_url())
     38return request.RESPONSE.redirect("%s" % context.absolute_url())
Note: See TracChangeset for help on using the changeset viewer.