From a7bcfd1e23fa75af62eda128d4a6b0ae89125935 Mon Sep 17 00:00:00 2001 From: Emanuel Cino Date: Mon, 23 Mar 2020 14:33:51 +0100 Subject: [PATCH] CO-3006 Don't send unread B2S letter to delivered emails --- .../data/sponsorship_action_rules.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partner_communication_switzerland/data/sponsorship_action_rules.xml b/partner_communication_switzerland/data/sponsorship_action_rules.xml index 1fb8e99fd..9c512e2a1 100644 --- a/partner_communication_switzerland/data/sponsorship_action_rules.xml +++ b/partner_communication_switzerland/data/sponsorship_action_rules.xml @@ -46,7 +46,7 @@ on_time - [('communication_id.state', '=', 'done'), ('communication_id.send_mode', '=', 'digital'), ('email_read', '=', None)] + [('communication_id.state', '=', 'done'), ('communication_id.send_mode', '=', 'digital'), ('email_read', '=', None), ('letter_delivered', '=', False)] 3 day