Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashutosh619-sudo committed Sep 3, 2024
1 parent c941b35 commit a91082d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/netsuite/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ def validate_for_skipping_payment(entity_object, workspace_id, object_type):
now = django_timezone.now()

if now - relativedelta(months=2) > task_log.created_at:
unique_id = int(entity_object['unique_id'].split('-')[1])
unique_id = int(entity_object['unique_id'].split('-')[2])
if object_type == 'BILL':
export_module = Bill.objects.get(id=unique_id)
else:
Expand Down

0 comments on commit a91082d

Please sign in to comment.