mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05: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
@ -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…
x
Reference in New Issue
Block a user