From 5bf57d7878516ca2893ba6afdca25c2f0032aba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Taymans?= Date: Wed, 31 Jul 2019 18:47:35 +0200 Subject: [PATCH] [FIX] b_w_shift: Configure highlight of task template Fix for feature added in commit 24d193d. --- beesdoo_website_shift/__openerp__.py | 2 +- beesdoo_website_shift/models/res_config.py | 2 +- beesdoo_website_shift/views/res_config_views.xml | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/beesdoo_website_shift/__openerp__.py b/beesdoo_website_shift/__openerp__.py index ecd6f5a..e2873e3 100644 --- a/beesdoo_website_shift/__openerp__.py +++ b/beesdoo_website_shift/__openerp__.py @@ -16,7 +16,7 @@ 'author': 'Rémy Taymans', 'license': 'AGPL-3', - 'version': '9.0.2.3.0', + 'version': '9.0.2.3.1', 'website': "https://github.com/beescoop/Obeesdoo", 'category': 'Cooperative management', diff --git a/beesdoo_website_shift/models/res_config.py b/beesdoo_website_shift/models/res_config.py index 5b7f751..04e31c2 100644 --- a/beesdoo_website_shift/models/res_config.py +++ b/beesdoo_website_shift/models/res_config.py @@ -129,7 +129,7 @@ class WebsiteShiftConfigSettings(models.TransientModel): @api.multi def get_default_regular_highlight_rule(self): return { - 'regular_next_shift_limit': int( + 'regular_highlight_rule': int( self.env['ir.config_parameter'] .get_param('beesdoo_website_shift.regular_highlight_rule') ) diff --git a/beesdoo_website_shift/views/res_config_views.xml b/beesdoo_website_shift/views/res_config_views.xml index 002971d..9968a90 100644 --- a/beesdoo_website_shift/views/res_config_views.xml +++ b/beesdoo_website_shift/views/res_config_views.xml @@ -56,6 +56,10 @@