Skip to content

Commit

Permalink
fix: fix the Opportunity Summary by Sales Stage Report
Browse files Browse the repository at this point in the history
  • Loading branch information
VishvParikh authored Oct 1, 2024
1 parent a04991f commit e843d0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def get_formatted_data(self):
if d.get(based_on) == "[]" or d.get(based_on) is None or d.get(based_on) == "Not Assigned":
assignments = ["Not Assigned"]
else:
assignments = json.loads(d.get(based_on))
assignments = json.loads(d.get(based_on)) if d.get(based_on) else ["Not Assigned"]

sales_stage = d.get("sales_stage")
count = d.get(data_based_on)
Expand Down

0 comments on commit e843d0e

Please sign in to comment.