Skip to content

Commit

Permalink
fixup! fixup! fixup! mig
Browse files Browse the repository at this point in the history
  • Loading branch information
em230418 committed Nov 14, 2024
1 parent ef2f954 commit 218d9f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions website_event_attendee_fields/models/event_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ def _parse_answers_for_partner_questions(self, reg_vals, question_ids):
Question = self.env["event.question"]
partner_vals = {}

if not reg_vals.get("registration_answer_ids"):
return partner_vals

for tuple_answer in reg_vals["registration_answer_ids"]:
if tuple_answer[0] != 0:
continue
Expand Down

0 comments on commit 218d9f9

Please sign in to comment.