diff --git a/la_chariotte/order/views/grouped_order.py b/la_chariotte/order/views/grouped_order.py index 1497136..e0fe825 100644 --- a/la_chariotte/order/views/grouped_order.py +++ b/la_chariotte/order/views/grouped_order.py @@ -93,7 +93,7 @@ class GroupedOrderEventView(generic.DetailView): response_kwargs.setdefault("content_type", self.content_type) response = self.response_class(content=self.get_content(), **response_kwargs) - response["Content-Disposition"] = f"attachment; filename={self.object.code}.ics" + response["Content-Disposition"] = f"attachment; filename={self.object.name}.ics" return response