app/soc/logic/helper/request.py
changeset 986 e9611a2288ca
parent 955 b00251a6b9f9
child 1085 0afbdd0905ef
equal deleted inserted replaced
985:f0b02777f403 986:e9611a2288ca
    47   # get the request that complies with properties
    47   # get the request that complies with properties
    48   request_entity = request_logic.getForFields(properties, unique=True)
    48   request_entity = request_logic.getForFields(properties, unique=True)
    49 
    49 
    50   # mark the request completed, if there is any
    50   # mark the request completed, if there is any
    51   if request_entity:
    51   if request_entity:
    52     request_logic.updateModelProperties(request_entity,
    52     request_logic.updateEntityProperties(request_entity,
    53         {'state': 'completed'})
    53         {'state': 'completed'})