|
@ -433,7 +433,7 @@ class WebsiteShiftController(http.Controller): |
|
|
# Get config |
|
|
# Get config |
|
|
regular_next_shift_limit = request.website.regular_next_shift_limit |
|
|
regular_next_shift_limit = request.website.regular_next_shift_limit |
|
|
shift_period = int( |
|
|
shift_period = int( |
|
|
request.env["ir.config_parameter"].get_param( |
|
|
|
|
|
|
|
|
request.env["ir.config_parameter"].sudo().get_param( |
|
|
"beesdoo_website_shift.shift_period" |
|
|
"beesdoo_website_shift.shift_period" |
|
|
) |
|
|
) |
|
|
) |
|
|
) |
|
|