FIX: dav_events: empty some more fields when copy old event.

This commit is contained in:
2019-07-17 16:22:28 +02:00
parent 8a5ca29e4d
commit 0ee8e42fa7

View File

@@ -612,8 +612,10 @@ class EventCreateView(EventPermissionMixin, generic.FormView):
for field in ('id',
'owner', 'created_at',
'number',
'planned_publication_date', 'internal_note',):
'number', 'charge',
'registration_howto', 'registration_closed',
'planned_publication_date', 'internal_note',
):
if hasattr(event, field):
setattr(event, field, None)