mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Abri tenant data fetch requires a parseable new commencement date 🟩
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
47842da7b9
commit
5df1237b90
1 changed files with 4 additions and 1 deletions
|
|
@ -215,7 +215,10 @@ class HubspotDealDiffer:
|
|||
if not HubspotDealDiffer._is_abri_condition_deal(new_deal, new_project):
|
||||
return False
|
||||
|
||||
return old_deal.expected_commencement_date is None
|
||||
if old_deal.expected_commencement_date is not None:
|
||||
return False
|
||||
|
||||
return parse_hs_date(new_deal.get("expected_commencement_date")) is not None
|
||||
|
||||
@staticmethod
|
||||
def _is_abri_condition_deal(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue