Skip to content

Commit

Permalink
Merge pull request #821 from dinukadesilva/gh-820-fix-parent-report-s…
Browse files Browse the repository at this point in the history
…tatus-validation-when-request-changes

gh-820: Fix parent tally sheet status validation when request changes
  • Loading branch information
dinukadesilva authored Aug 14, 2020
2 parents d8ec9ad + f5f8997 commit 9b28709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion results-tabulation-api/ext/ExtendedTallySheet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def authorize_workflow_action(self, workflow_action, content=None):
code=MESSAGE_CODE_WORKFLOW_ACTION_NOT_AUTHORIZED)

if workflow_action.actionType == WORKFLOW_ACTION_TYPE_REQUEST_CHANGES and workflow_action.toStatus in [
WORKFLOW_STATUS_TYPE_SAVED, WORKFLOW_STATUS_TYPE_EMPTY]:
WORKFLOW_STATUS_TYPE_CHANGES_REQUESTED]:

from orm.entities.Submission import TallySheet
from orm.entities.Submission.TallySheet import TallySheetTallySheetModel
Expand Down

0 comments on commit 9b28709

Please sign in to comment.