From 83304986e3884d4f87f8b1b4bed6a1424067909f Mon Sep 17 00:00:00 2001 From: odoo-pda Date: Thu, 6 Aug 2020 14:30:49 +0200 Subject: [PATCH] [FIX] open instead as draft doesnt exist anymore --- beesdoo_website_shift/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beesdoo_website_shift/controllers/main.py b/beesdoo_website_shift/controllers/main.py index 5dbbbdc..82efd8d 100644 --- a/beesdoo_website_shift/controllers/main.py +++ b/beesdoo_website_shift/controllers/main.py @@ -446,7 +446,7 @@ class WebsiteShiftController(http.Controller): shift.planning_id = main_shift.planning_id shift.task_type_id = main_shift.task_type_id shift.worker_id = main_shift.worker_id - shift.state = "draft" + shift.state = "open" shift.super_coop_id = main_shift.super_coop_id shift.color = main_shift.color shift.is_regular = main_shift.is_regular