Skip to content

Commit

Permalink
Bugfix for Trello: 987
Browse files Browse the repository at this point in the history
Opvoeren uren extra-curriculaire edubadge ten onrechte verplicht
  • Loading branch information
oharsta committed Jan 16, 2025
1 parent 6718ab6 commit 07cf1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/issuer/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def validate(self, data):
is_private = data.get("is_private", False)
type_badge = data["badge_class_type"]
self.formal = type_badge == BadgeClass.BADGE_CLASS_TYPE_REGULAR
if is_mbo and not is_private:
if is_mbo and not is_private and type_badge != BadgeClass.BADGE_CLASS_TYPE_CURRICULAR:
extensions += ["StudyLoadExtension"]
if not is_private:
required_fields += ["description", "criteria_text"]
Expand Down

0 comments on commit 07cf1ba

Please sign in to comment.