app/soc/logic/models/org_admin.py
changeset 1140 a8eaea0b268d
parent 1121 77c602de9248
child 1307 091a21cf3627
equal deleted inserted replaced
1139:7a6f94ffcc87 1140:a8eaea0b268d
    47 
    47 
    48     org_entity = entity.scope
    48     org_entity = entity.scope
    49 
    49 
    50     if org_entity.status == 'new':
    50     if org_entity.status == 'new':
    51       # this org is new so mark as active
    51       # this org is new so mark as active
    52       fields = {'status' : 'active'}
    52       fields = {'status': 'active'}
    53       org_logic.logic.updateEntityProperties(org_entity, fields)
    53       org_logic.logic.updateEntityProperties(org_entity, fields)
    54 
    54 
    55     # call super
    55     # call super
    56     super(Logic, self)._onCreate(entity)
    56     super(Logic, self)._onCreate(entity)
    57 
    57