FIX: Set duplicated event status to provisional

Closes #398.

Flip flop. Flip flop.
This commit is contained in:
2020-10-09 16:45:33 +01:00
parent 5a99560310
commit 7f3a169875

View File

@@ -153,6 +153,7 @@ class EventDuplicate(EventUpdate):
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.status = new.PROVISIONAL # Return status to provisional
# Clear checked in by if it's a dry hire
if new.dry_hire is True: