Skip to content

Commit

Permalink
Merge pull request #1531 from CompassionCH/devel
Browse files Browse the repository at this point in the history
CP-76 FIX mobile requests bugs
  • Loading branch information
ecino authored Jul 4, 2022
2 parents b3500fc + aa33308 commit 2b03fbd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sms_939/models/sms_child_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ def _take_child_from_website(self):
self.write({"child_id": child.id, "state": "child_reserved"})
child.hold_id.sms_request_id = self.id
child.remove_from_wordpress()
if self.type == "sms":
child.write({"state": "S"})

child.hold_id.with_delay().update_expiration_date(
fields.Datetime.to_string(datetime.now() + relativedelta(days=1))
Expand Down

0 comments on commit 2b03fbd

Please sign in to comment.