From 6a82929cc2b098e070adf9ab74d28eb27cf20259 Mon Sep 17 00:00:00 2001 From: nicolasjamoulle Date: Tue, 12 Mar 2019 11:53:12 +0100 Subject: [PATCH 1/3] [ADD] add domain to replace_id --- beesdoo_shift/views/task.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beesdoo_shift/views/task.xml b/beesdoo_shift/views/task.xml index 522e6e3..62eaec5 100644 --- a/beesdoo_shift/views/task.xml +++ b/beesdoo_shift/views/task.xml @@ -99,7 +99,7 @@ - + From 759e5e3cda12444ae592cb55cb8fe0f7986cc159 Mon Sep 17 00:00:00 2001 From: nicolasjamoulle Date: Tue, 12 Mar 2019 12:06:37 +0100 Subject: [PATCH 2/3] [FIX] change domain arguments --- beesdoo_shift/views/task.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beesdoo_shift/views/task.xml b/beesdoo_shift/views/task.xml index 62eaec5..b2376f9 100644 --- a/beesdoo_shift/views/task.xml +++ b/beesdoo_shift/views/task.xml @@ -99,7 +99,7 @@ - + From cd626cf50ae1a18ea8fc2aede962b3e64f8dd633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Taymans?= Date: Mon, 25 Mar 2019 11:48:23 +0100 Subject: [PATCH 3/3] [FIX] b_w_shift: status_id not found --- 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 c37c3ec..84bbec4 100644 --- a/beesdoo_website_shift/controllers/main.py +++ b/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