app/soc/logic/models/request.py
changeset 1954 7aef36e912bb
parent 1948 25cd704fdfdf
child 2678 a525a55833f1
equal deleted inserted replaced
1953:6bd827320b3d 1954:7aef36e912bb
    74     super(Logic, self)._onCreate(entity)
    74     super(Logic, self)._onCreate(entity)
    75 
    75 
    76   def _updateField(self, entity, entity_properties, name):
    76   def _updateField(self, entity, entity_properties, name):
    77     """Called when the fields of the request are updated.
    77     """Called when the fields of the request are updated.
    78 
    78 
    79       - Sends out a message depending on the change of status
    79       Sends out a message depending on the change of status.
    80     """
    80     """
    81 
    81 
    82     value = entity_properties[name]
    82     value = entity_properties[name]
    83 
    83 
    84     if name == 'status' and entity.status != value:
    84     if name == 'status' and entity.status != value: