mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-04 03:27:12 -05:00 
			
		
		
		
	Removed the archive tag, as it wasnt really used anyway.
This commit is contained in:
		
							parent
							
								
									b31d4779bf
								
							
						
					
					
						commit
						5b9f38d398
					
				@ -51,7 +51,7 @@ class Command(Renderable, BaseCommand):
 | 
				
			|||||||
            queryset = Document.objects.filter(tags__is_inbox_tag=True)
 | 
					            queryset = Document.objects.filter(tags__is_inbox_tag=True)
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            queryset = Document.objects.all()
 | 
					            queryset = Document.objects.all()
 | 
				
			||||||
        documents = queryset.exclude(tags__is_archived_tag=True).distinct()
 | 
					        documents = queryset.distinct()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        logging.getLogger(__name__).info("Loading classifier")
 | 
					        logging.getLogger(__name__).info("Loading classifier")
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										5
									
								
								src/documents/migrations/0022_workflow_improvements.py
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										5
									
								
								src/documents/migrations/0022_workflow_improvements.py
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@ -15,11 +15,6 @@ class Migration(migrations.Migration):
 | 
				
			|||||||
            name='archive_serial_number',
 | 
					            name='archive_serial_number',
 | 
				
			||||||
            field=models.IntegerField(blank=True, db_index=True, help_text='The position of this document in your physical document archive.', null=True, unique=True),
 | 
					            field=models.IntegerField(blank=True, db_index=True, help_text='The position of this document in your physical document archive.', null=True, unique=True),
 | 
				
			||||||
        ),
 | 
					        ),
 | 
				
			||||||
        migrations.AddField(
 | 
					 | 
				
			||||||
            model_name='tag',
 | 
					 | 
				
			||||||
            name='is_archived_tag',
 | 
					 | 
				
			||||||
            field=models.BooleanField(default=False, help_text='Marks this tag as an archive tag: All documents tagged with archive tags will never be modified automatically (i.e., modifying tags by matching rules)'),
 | 
					 | 
				
			||||||
        ),
 | 
					 | 
				
			||||||
        migrations.AddField(
 | 
					        migrations.AddField(
 | 
				
			||||||
            model_name='tag',
 | 
					            model_name='tag',
 | 
				
			||||||
            name='is_inbox_tag',
 | 
					            name='is_inbox_tag',
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										0
									
								
								src/documents/mixins.py
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								src/documents/mixins.py
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@ -83,13 +83,6 @@ class Tag(MatchingModel):
 | 
				
			|||||||
                  "documents will be tagged with inbox tags."
 | 
					                  "documents will be tagged with inbox tags."
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    is_archived_tag = models.BooleanField(
 | 
					 | 
				
			||||||
        default=False,
 | 
					 | 
				
			||||||
        help_text="Marks this tag as an archive tag: All documents tagged "
 | 
					 | 
				
			||||||
                  "with archive tags will never be modified automatically "
 | 
					 | 
				
			||||||
                  "(i.e., modifying tags by matching rules)"
 | 
					 | 
				
			||||||
    )
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
class DocumentType(MatchingModel):
 | 
					class DocumentType(MatchingModel):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user