From 7f3a16987517dfe0414911238fa78f622a1fe327 Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Fri, 9 Oct 2020 16:45:33 +0100 Subject: [PATCH] FIX: Set duplicated event status to provisional Closes #398. Flip flop. Flip flop. --- RIGS/rigboard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/RIGS/rigboard.py b/RIGS/rigboard.py index 07ff78ff..52edc305 100644 --- a/RIGS/rigboard.py +++ b/RIGS/rigboard.py @@ -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: