You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
402 B

# 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
"""
)
cr.execute(
"""
CREATE SEQUENCE IF NOT EXISTS beesdoo_shift_temporary_exemption_id_seq
"""
)