Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
red-group-test
red-ci-cd
Commits
1d1af12b
Commit
1d1af12b
authored
Feb 06, 2020
by
Gladys Forte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
{dev bugfix} fix validation_vendor_unique_level
parent
c6442dc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/businesslayer/changerequest/change_request_template.py
app/businesslayer/changerequest/change_request_template.py
+4
-4
No files found.
app/businesslayer/changerequest/change_request_template.py
View file @
1d1af12b
...
...
@@ -186,8 +186,8 @@ def validation_vendor_unique_level(approvers):
for
approver
in
approvers
:
if
'delegation'
in
approver
:
if
approver
[
'level'
]
in
data_level
:
if
(
not
approver
[
'delegation'
]
==
'DELEGATION-20191119-0000002'
and
not
approver
[
'delegation'
]
==
''
)
:
validate
=
approver
[
'level'
]
if
not
approver
[
'delegation'
]
is
None
:
if
approver
[
'level'
]
in
data_level
:
if
not
approver
[
'delegation'
]
==
'DELEGATION-20191119-0000002'
:
validate
=
approver
[
'level'
]
return
validate
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment