mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Fix: always check workflow filter_mailrule if set (#6474)
This commit is contained in:
parent
031653cae8
commit
053ed4a0f8
@ -269,8 +269,7 @@ def consumable_document_matches_workflow(
|
||||
|
||||
# Document mail rule vs trigger mail rule
|
||||
if (
|
||||
document.mailrule_id is not None
|
||||
and trigger.filter_mailrule is not None
|
||||
trigger.filter_mailrule is not None
|
||||
and document.mailrule_id != trigger.filter_mailrule.pk
|
||||
):
|
||||
reason = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user