mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Enhancement: add ASN to consume rejection message (#6217)
This commit is contained in:
		| @@ -368,7 +368,7 @@ class Consumer(LoggingMixin): | |||||||
|         if Document.objects.filter(archive_serial_number=self.override_asn).exists(): |         if Document.objects.filter(archive_serial_number=self.override_asn).exists(): | ||||||
|             self._fail( |             self._fail( | ||||||
|                 ConsumerStatusShortMessage.ASN_ALREADY_EXISTS, |                 ConsumerStatusShortMessage.ASN_ALREADY_EXISTS, | ||||||
|                 f"Not consuming {self.filename}: Given ASN already exists!", |                 f"Not consuming {self.filename}: Given ASN {self.override_asn} already exists!", | ||||||
|             ) |             ) | ||||||
|  |  | ||||||
|     def run_pre_consume_script(self): |     def run_pre_consume_script(self): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Elias Probst
					Elias Probst