mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 15:25:41 +01:00
Fix: Typo invalidates precondition for doctype, resulting in Exception (#4668)
Co-authored-by: Armin Gruner <agmuc.de>
This commit is contained in:
parent
92ee4d33c3
commit
1c4dfc3c6e
1 changed files with 1 additions and 1 deletions
|
|
@ -657,7 +657,7 @@ class Consumer(LoggingMixin):
|
|||
)
|
||||
doc_type_name = (
|
||||
DocumentType.objects.get(pk=self.override_document_type_id).name
|
||||
if self.override_correspondent_id is not None
|
||||
if self.override_document_type_id is not None
|
||||
else None
|
||||
)
|
||||
owner_username = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue