This commit is contained in:
rachidatecs 2023-06-12 17:36:52 -04:00
parent 76b0a72ad4
commit 76afc9780e
No known key found for this signature in database
GPG key ID: 3CEBBFA7325E5525

View file

@ -577,7 +577,7 @@ class DomainApplication(TimeStampedModel):
# When an application is moved to in review, we need to send a
# confirmation email. This is a side-effect of the state transition
updated_domain_application._send_in_review_email()
@transition(field="status", source=[SUBMITTED, INVESTIGATING], target=WITHDRAWN)
def withdraw(self):
"""Withdraw an application that has been submitted."""