Browse Source
Merge branch '9.0' into cannot_create_worker_on_shift
pull/63/head
Nicolas Jamoulle
6 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
|
|
@ -130,7 +130,7 @@ class WebsiteShiftController(http.Controller): |
|
|
|
if (irregular_enable_sign_up |
|
|
|
and self.user_can_subscribe() |
|
|
|
and shift |
|
|
|
and shift.status_id == open_status |
|
|
|
and shift.stage_id == open_status |
|
|
|
and not shift.worker_id): |
|
|
|
shift.worker_id = cur_user.partner_id |
|
|
|
request.session['success'] = True |
|
|
|