HDTN-263678 - Approver was allowed to save contract with "No need for Approval"

Issue No: CT-6113
Created 8/17/2021 10:49:31 AM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-263678 - Approver was allowed to save contract with "No need for Approval"|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-263678]   Steps:   In company Zug (irely CH)   1. Create Contract - Enter header details - Enter additional info details 2. Save   Issue:   One of the approvers "Peter B" was able to save a contract with "No need for Approval" even though this user has been configured to go through the approval process.   Refer screenshots.   PFA animated GIF. One possibility, when a contract header is saved before creating sequence, it is setting approval status as "No need for Approval". later while saving the sequence, for some reason, it is not changing to "Submit for Approval".     Accepted:   - When saving the contract without a sequence, the status should show 'Waiting for Submit' and the 'Submit for Approval' button should not display.