A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix: dont link related document if document is in the trash
shamoon007e5a547335
diff --git a/src/documents/serialisers.py b/src/documents/serialisers.pyindex 8b1605af9..91e291c21 100644--- a/src/documents/serialisers.py+++ b/src/documents/serialisers.py@@ -1615,7 +1615,11 @@ class TasksViewSerializer(OwnedObjectSerializer):case states.SUCCESS:re = self.created_doc_recase states.FAILURE:- re = self.duplicate_doc_re+ re = (+ self.duplicate_doc_re+ if "existing document is in the trash" not in obj.result+ else None+ )if re is not None:try:result = re.search(obj.result).group(1)