mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Abri survey creation trigger ignores deals outside the Abri Condition project 🟩
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
882eb1eff9
commit
97bf001fbf
1 changed files with 2 additions and 0 deletions
|
|
@ -174,6 +174,8 @@ class HubspotDealDiffer:
|
|||
def check_for_abri_survey_creation(
|
||||
new_deal: Dict[str, str], old_deal: HubspotDealData
|
||||
) -> bool:
|
||||
if new_deal.get("project_code") != "Abri Condition":
|
||||
return False
|
||||
return old_deal.confirmed_survey_date is None
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue