mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
use unsuccesseful outcoems constant directly in hubspot deal differ 🟪
This commit is contained in:
parent
4ac4dd8683
commit
31fc7ee115
1 changed files with 1 additions and 2 deletions
|
|
@ -16,7 +16,6 @@ class HubspotDealDiffer:
|
|||
RETROFIT_DESIGN_COMPLETE = "uploaded"
|
||||
LODGEMENT_COMPLETE: List[str] = ["lodgement complete", "measures lodged"]
|
||||
ABANDONMENT_ATTEMPTS_THRESHOLD = 3
|
||||
NEGATIVE_OUTCOMES = UNSUCCESSFUL_OUTCOMES
|
||||
# Verified against the portal (2026-07-07): Abri stock-condition deals
|
||||
# carry no project association, so the project_code match is the branch
|
||||
# that fires in production; the id below is the project object id
|
||||
|
|
@ -328,7 +327,7 @@ class HubspotDealDiffer:
|
|||
):
|
||||
return False
|
||||
|
||||
return (outcome or "").lower() in HubspotDealDiffer.NEGATIVE_OUTCOMES
|
||||
return (outcome or "").lower() in UNSUCCESSFUL_OUTCOMES
|
||||
|
||||
@staticmethod
|
||||
def _is_abri_condition_deal(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue