fix: update status type patch was not working

This commit is contained in:
Shariq Ansari 2025-07-14 12:27:14 +05:30
parent 160649bf97
commit 4320142132

View File

@ -27,7 +27,7 @@ def execute():
]
for status in deal_statuses:
if status.type is None or status.type == "":
if not status.type or status.type is None or status.type == "Open":
if status.deal_status in openStatuses:
type = "Open"
elif status.deal_status in ongoingStatuses: