UPDATE: add request id field to review object
This commit is contained in:
parent
63aa41cd9f
commit
1bd7f6c81e
@ -679,6 +679,7 @@ class AccuracyViewSet(viewsets.ViewSet):
|
|||||||
for field in ['retailername', 'sold_to_party', 'purchase_date', 'imei_number']:
|
for field in ['retailername', 'sold_to_party', 'purchase_date', 'imei_number']:
|
||||||
if not field in reviewed_result.keys():
|
if not field in reviewed_result.keys():
|
||||||
raise RequiredFieldException(excArgs=f'reviewed_result.{field}')
|
raise RequiredFieldException(excArgs=f'reviewed_result.{field}')
|
||||||
|
reviewed_result['request_id'] = request_id
|
||||||
|
|
||||||
for subscription_request_file in subscription_request_files:
|
for subscription_request_file in subscription_request_files:
|
||||||
if subscription_request_file.doc_type == 'invoice':
|
if subscription_request_file.doc_type == 'invoice':
|
||||||
|
Loading…
Reference in New Issue
Block a user