This commit is contained in:
rachidatecs 2023-08-14 12:58:47 -04:00
parent f7c9c1c42c
commit e1d78bda5a
No known key found for this signature in database
GPG key ID: 3CEBBFA7325E5525
2 changed files with 2 additions and 2 deletions

View file

@ -275,7 +275,7 @@ class DomainApplicationAdmin(ListHeaderAdmin):
elif obj.status == models.DomainApplication.SUBMITTED:
# This is an fsm in model which will throw an error if the
# transition condition is violated, so we roll back the
# status to what it was before the admn user changed it and
# status to what it was before the admin user changed it and
# let the fsm method set it. Same comment applies to
# transition method calls below.
obj.status = original_obj.status