Don't reset claim state when editing
This commit is contained in:
parent
83ef0c5154
commit
16f859cb6e
@ -492,7 +492,9 @@ def claim_edit(request, claim):
|
||||
return redirect(reverse('claim_list'))
|
||||
|
||||
with transaction.atomic():
|
||||
state = claim.state
|
||||
claim = claim_from_form(claim, request.POST, request.FILES)
|
||||
claim.state = state
|
||||
|
||||
claim_history = models.ClaimHistory()
|
||||
claim_history.claim = claim
|
||||
|
Loading…
Reference in New Issue
Block a user