This commit is contained in:
Johnathan Graydon
2018-03-25 15:18:06 +01:00
parent 9720066fd7
commit 3c605d2976

View File

@@ -138,7 +138,7 @@ class EventDuplicate(EventUpdate):
old = super(EventDuplicate, self).get_object(queryset) # Get the object (the event you're duplicating)
new = copy.copy(old) # Make a copy of the object in memory
new.based_on = old # Make the new event based on the old event
new.purchase_order = None # Remove old PO
new.purchase_order = None # Remove old PO
# Clear checked in by if it's a dry hire
if new.dry_hire is True: