Abri tenant data fetch ignores already-set commencement dates 🟩

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Daniel Roth 2026-07-03 08:26:20 +00:00
parent c18f4feb3e
commit b4d2d9cd37

View file

@ -212,7 +212,10 @@ 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
return old_deal.expected_commencement_date is None
@staticmethod
def _is_abri_condition_deal(