mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Chore: Backend dependencies update (#5676)
This commit is contained in:
@@ -9,11 +9,9 @@ from paperless_mail.models import ProcessedMail
|
||||
|
||||
|
||||
class MailAccountAdminForm(forms.ModelForm):
|
||||
|
||||
"""Metadata classes used by Django admin to display the form."""
|
||||
|
||||
class Meta:
|
||||
|
||||
"""Metadata class used by Django admin to display the form."""
|
||||
|
||||
model = MailAccount
|
||||
|
@@ -739,9 +739,11 @@ class MailAccountHandler(LoggingMixin):
|
||||
correspondent_id=correspondent.id if correspondent else None,
|
||||
document_type_id=doc_type.id if doc_type else None,
|
||||
tag_ids=tag_ids,
|
||||
owner_id=rule.owner.id
|
||||
if (rule.assign_owner_from_rule and rule.owner)
|
||||
else None,
|
||||
owner_id=(
|
||||
rule.owner.id
|
||||
if (rule.assign_owner_from_rule and rule.owner)
|
||||
else None
|
||||
),
|
||||
)
|
||||
|
||||
consume_task = consume_file.s(
|
||||
|
Reference in New Issue
Block a user