Browse Source
Merge pull request #163 from beescoop/12.0-state_draft-pda
[FIX] state draft doesn't exist anymore
pull/168/head
Rémy Taymans
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|