Skip to content
Snippets Groups Projects
Commit c3cea378 authored by Julian's avatar Julian
Browse files

Fix excuse type assigning bug

parent b2ec85fb
No related branches found
No related tags found
1 merge request!111Resolve "[Person overview] Implement multiple selection for marking absences as excused or for deleting"
Pipeline #10800 passed
...@@ -29,6 +29,7 @@ def mark_as_excuse_type_generator(excuse_type) -> Callable: ...@@ -29,6 +29,7 @@ def mark_as_excuse_type_generator(excuse_type) -> Callable:
queryset.update(excused=True, excuse_type=excuse_type) queryset.update(excused=True, excuse_type=excuse_type)
mark_as_excuse_type.short_description = _(f"Mark as {excuse_type.name}") mark_as_excuse_type.short_description = _(f"Mark as {excuse_type.name}")
mark_as_excuse_type.__name__ = f"mark_as_excuse_type_{excuse_type.short_name}"
return mark_as_excuse_type return mark_as_excuse_type
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment