Commit 8f876860 authored by Gladys Forte's avatar Gladys Forte

print

parent 788cece9
...@@ -57,6 +57,7 @@ class ChangeRequestFormApproversSerializer( ...@@ -57,6 +57,7 @@ class ChangeRequestFormApproversSerializer(
else: else:
ret['editable_deleg'] = True ret['editable_deleg'] = True
print("This is on try" + instance.tmp_approver.delegation)
# if instance.tmp_approver.delegation.name.lower() == 'requestor': # if instance.tmp_approver.delegation.name.lower() == 'requestor':
# ret['editable_user'] = False # ret['editable_user'] = False
# ret['editable_comp'] = False # ret['editable_comp'] = False
...@@ -122,6 +123,7 @@ class ChangeRequestFormApproversSerializer( ...@@ -122,6 +123,7 @@ class ChangeRequestFormApproversSerializer(
ret['delegation'] = None ret['delegation'] = None
ret['editable_deleg'] = True ret['editable_deleg'] = True
print("This is on catch" + instance.tmp_approver.delegation)
# if instance.tmp_approver.delegation.name.lower() == 'requestor': # if instance.tmp_approver.delegation.name.lower() == 'requestor':
# ret['editable_user'] = False # ret['editable_user'] = False
# ret['editable_comp'] = False # ret['editable_comp'] = False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment