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
parent
commit
674337b456
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beesdoo_website_shift/controllers/main.py

2
beesdoo_website_shift/controllers/main.py

@ -446,7 +446,7 @@ class WebsiteShiftController(http.Controller):
shift.planning_id = main_shift.planning_id shift.planning_id = main_shift.planning_id
shift.task_type_id = main_shift.task_type_id shift.task_type_id = main_shift.task_type_id
shift.worker_id = main_shift.worker_id shift.worker_id = main_shift.worker_id
shift.state = "draft"
shift.state = "open"
shift.super_coop_id = main_shift.super_coop_id shift.super_coop_id = main_shift.super_coop_id
shift.color = main_shift.color shift.color = main_shift.color
shift.is_regular = main_shift.is_regular shift.is_regular = main_shift.is_regular

Loading…
Cancel
Save