fix(selling): handle None values while grouping opportunities by utm … (#55300)

This commit is contained in:
Pandiyan P
2026-05-27 12:22:43 +05:30
committed by GitHub
parent 3ad67021d6
commit 05a46ffefd

View File

@@ -102,6 +102,7 @@ def get_opp_by(by_field, from_date, to_date, company):
}, },
) )
for x in opportunities for x in opportunities
if x.get(by_field)
] ]
summary = {} summary = {}