Fix for feature added in commit 24d193d.
24d193d
@ -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',
@ -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')
)
@ -56,6 +56,10 @@
<label for="regular_next_shift_limit"/>
<field name="regular_next_shift_limit"/>
</div>
<div>
<label for="regular_highlight_rule"/>
<field name="regular_highlight_rule"/>
</form>
</field>
</record>