Skip to content

Commit

Permalink
Fixed operations in stopping status
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Mar 29, 2016
1 parent b6a74c3 commit 234413c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openprocurement/tender/openua/views/complaint.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def patch(self):
self.request.errors.add('body', 'data', 'Can\'t update complaint in current ({}) tender status'.format(tender.status))
self.request.errors.status = 403
return
if self.context.status not in ['draft', 'claim', 'answered', 'pending', 'accepted', 'satisfied']:
if self.context.status not in ['draft', 'claim', 'answered', 'pending', 'accepted', 'satisfied', 'stopping']:
self.request.errors.add('body', 'data', 'Can\'t update complaint in current ({}) status'.format(self.context.status))
self.request.errors.status = 403
return
Expand Down

0 comments on commit 234413c

Please sign in to comment.