app/soc/logic/models/club.py
changeset 1080 d533408811ba
parent 991 becede26c37f
child 1085 0afbdd0905ef
equal deleted inserted replaced
1079:be1aacb33b0f 1080:d533408811ba
    64         properties['link_id'] = admin.link_id
    64         properties['link_id'] = admin.link_id
    65         key_fields = request_logic.logic.getKeyFieldsFromDict(properties)
    65         key_fields = request_logic.logic.getKeyFieldsFromDict(properties)
    66         request_logic.logic.updateOrCreateFromFields(properties, key_fields)
    66         request_logic.logic.updateOrCreateFromFields(properties, key_fields)
    67 
    67 
    68       # set the application to completed  
    68       # set the application to completed  
    69       fields = {'status' : 'completed'}
    69       fields = {'state' : 'completed'}
    70       club_app_logic.logic.updateEntityProperties(application, fields)
    70       club_app_logic.logic.updateEntityProperties(application, fields)
    71 
    71 
    72     super(Logic, self)._onCreate(entity)
    72     super(Logic, self)._onCreate(entity)
    73 
    73 
    74 
    74