mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
consumed via mail should default to owner
This commit is contained in:
parent
1875e9852e
commit
e6804dad2f
@ -465,6 +465,7 @@ class MailAccountHandler(LoggingMixin):
|
|||||||
else None,
|
else None,
|
||||||
override_document_type_id=doc_type.id if doc_type else None,
|
override_document_type_id=doc_type.id if doc_type else None,
|
||||||
override_tag_ids=tag_ids,
|
override_tag_ids=tag_ids,
|
||||||
|
override_owner_id=rule.owner.id if rule.owner else None,
|
||||||
)
|
)
|
||||||
|
|
||||||
processed_attachments += 1
|
processed_attachments += 1
|
||||||
@ -529,6 +530,7 @@ class MailAccountHandler(LoggingMixin):
|
|||||||
override_correspondent_id=correspondent.id if correspondent else None,
|
override_correspondent_id=correspondent.id if correspondent else None,
|
||||||
override_document_type_id=doc_type.id if doc_type else None,
|
override_document_type_id=doc_type.id if doc_type else None,
|
||||||
override_tag_ids=tag_ids,
|
override_tag_ids=tag_ids,
|
||||||
|
override_owner_id=rule.owner.id if rule.owner else None,
|
||||||
)
|
)
|
||||||
processed_elements = 1
|
processed_elements = 1
|
||||||
return processed_elements
|
return processed_elements
|
||||||
|
Loading…
x
Reference in New Issue
Block a user