diff --git a/kitchen_counter/conversion/management/commands/custom_runserver.py b/kitchen_counter/conversion/management/commands/custom_runserver.py index 5b8a91b..4281afc 100755 --- a/kitchen_counter/conversion/management/commands/custom_runserver.py +++ b/kitchen_counter/conversion/management/commands/custom_runserver.py @@ -161,7 +161,7 @@ def run_audit(msg): id = script_id )) print("STATUS AUDIT",status) - # status.only_audit = True + status.only_audit = True # Blockchain # if UserCredentialsForBlockchain.objects.filter(user=request.user).exists(): blockchain_obj = UserCredentialsForBlockchain.objects.get(user=user) diff --git a/kitchen_counter/scriptAudit/models.py b/kitchen_counter/scriptAudit/models.py index 275cd69..4e1b1c3 100755 --- a/kitchen_counter/scriptAudit/models.py +++ b/kitchen_counter/scriptAudit/models.py @@ -61,3 +61,4 @@ class ScriptAuditModel(models.Model): transaction_hash = models.CharField(max_length=200, blank=False, null=True) bchain_privatekey = models.CharField(max_length=200, blank=False, null=True) isfdx = models.BooleanField(default=False) + only_audit = models.BooleanField(null=True, blank=True)