FIX: Set duplicated event status to provisional

Closes #398
This commit is contained in:
2020-02-19 13:39:48 +00:00
parent 6dffaa4f21
commit 0d9acc413b

View File

@@ -162,6 +162,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: