Skip to content

Commit b013691

Browse files
committed
fix(cr): set stage='review' on submit so demo-generated CRs route through the new review form (#920 round-2 follow-up)
1 parent 58e6d29 commit b013691

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

spp_change_request_v2/models/change_request.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,7 @@ def _on_submit(self):
10181018
action = "resubmitted" if old_state == "revision" else "submitted"
10191019
self._create_audit_event("submitted", old_state, "pending")
10201020
self._create_log(action)
1021+
self.stage = "review"
10211022

10221023
def _on_request_revision(self, notes):
10231024
super()._on_request_revision(notes)

0 commit comments

Comments
 (0)