Merge remote-tracking branch 'origin/main' into rjm/757-action-needed-759-rejected

This commit is contained in:
rachidatecs 2023-07-14 15:31:20 -04:00
commit 267f76eb62
No known key found for this signature in database
GPG key ID: 3CEBBFA7325E5525
8 changed files with 34 additions and 32 deletions

View file

@ -280,7 +280,7 @@ class DomainApplicationAdmin(ListHeaderAdmin):
# for the side effects (like an email send). Same
# comment applies to original_obj method calls below.
original_obj.submit(updated_domain_application=obj)
elif obj.status == models.DomainApplication.INVESTIGATING:
elif obj.status == models.DomainApplication.IN_REVIEW:
original_obj.in_review(updated_domain_application=obj)
elif obj.status == models.DomainApplication.ACTION_NEEDED:
original_obj.action_needed(updated_domain_application=obj)