From bf344e1b5832c7f42a35b0705cf9903282a1a57a Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Thu, 2 Jul 2026 16:49:19 +0000 Subject: [PATCH] =?UTF-8?q?Abri=20survey=20amendment=20trigger=20stays=20q?= =?UTF-8?q?uiet=20when=20the=20survey=20date=20and=20time=20are=20unchange?= =?UTF-8?q?d=20=F0=9F=9F=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- etl/hubspot/hubspot_deal_differ.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/etl/hubspot/hubspot_deal_differ.py b/etl/hubspot/hubspot_deal_differ.py index b2f38c0f3..9a94ed4fb 100644 --- a/etl/hubspot/hubspot_deal_differ.py +++ b/etl/hubspot/hubspot_deal_differ.py @@ -193,7 +193,11 @@ class HubspotDealDiffer: new_project: Optional[ProjectData], old_deal: HubspotDealData, ) -> bool: - return HubspotDealDiffer._is_abri_condition_deal(new_deal, new_project) + if not HubspotDealDiffer._is_abri_condition_deal(new_deal, new_project): + return False + + new_survey_date = parse_hs_date(new_deal.get("confirmed_survey_date")) + return old_deal.confirmed_survey_date != new_survey_date @staticmethod def _is_abri_condition_deal(