equal
deleted
inserted
replaced
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 |