Add beesdoo_shift_temporary_exemption_id_seq.
@ -13,7 +13,7 @@
'website': "https://github.com/beescoop/Obeesdoo",
'category': 'Cooperative management',
'version': '9.0.1.2.1',
'version': '9.0.1.2.3',
'depends': ['beesdoo_base'],
@ -0,0 +1,16 @@
# coding: utf-8
def migrate(cr, version):
"""Fix bug occuring when trying to save a temporary exempt
(missing sequence in database). """
cr.execute(
"""
CREATE SEQUENCE IF NOT EXISTS beesdoo_website_shift_config_settings_id_seq
)
CREATE SEQUENCE IF NOT EXISTS beesdoo_shift_temporary_exemption_id_seq