[14.0][ADD] mgmtsystem_review_copy_lines - #931
Open
deeniiz wants to merge 1 commit into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 14.0 #931 +/- ##
==========================================
+ Coverage 51.26% 51.31% +0.05%
==========================================
Files 1180 1185 +5
Lines 20388 20420 +32
Branches 4298 4301 +3
==========================================
+ Hits 10451 10479 +28
- Misses 9683 9686 +3
- Partials 254 255 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
deeniiz
force-pushed
the
14.0-add-mgmtsystem_review_copy_lines
branch
from
June 15, 2026 08:00
8810eb1 to
0a16a8d
Compare
Duplicating a management system review did not carry over its lines, since One2many fields are not copied by default; reusing a review as a template meant re-entering every line by hand. Make the review lines copyable and force every duplicate to start in the open state, so even a closed review duplicates into a fresh, editable copy. Enables a template-based workflow for recording change controls with low operational overhead.
deeniiz
force-pushed
the
14.0-add-mgmtsystem_review_copy_lines
branch
from
June 15, 2026 08:03
0a16a8d to
92da6c1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
(title, type, linked action/nonconformity and decision), so a review can be
kept as a template and duplicated instead of re-entering its structure.
closed — avoiding copies born closed and read-only.
Test plan
lines with decision + linked action, fresh reference, disjoint line ids;
duplicating a closed review yields an open, editable copy