Browse Source

[FIX] open instead as draft doesnt exist anymore

12.0-macavrac-prod
odoo-pda 4 years ago
parent
commit
83304986e3
  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