Skip to content
Snippets Groups Projects
Commit 9c99dfdf authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Do not touch invoice on retraction

parent 0bf883a0
No related branches found
Tags 3.0b0
No related merge requests found
......@@ -288,11 +288,6 @@ class EventRegistration(ExtensibleModel):
def retract(self):
# Remove person from group
self.event.linked_group.members.remove(self.person)
# Invoice
inv = self.get_invoice()
inv.for_object = None
inv.for_object_class = None
inv.save()
# Mark registration as retracted
self.retracted = True
self.retracted_date = datetime.today()
......
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