Tower: upload cetmix_tower_server 16.0.3.0.1 (via marketplace)

This commit is contained in:
2026-04-27 08:15:47 +00:00
parent af0b27d762
commit a3022f8332

View File

@@ -0,0 +1,17 @@
# Remove the "unique_variable_value_server" constraint for cx_tower_variable_value model
import logging
_logger = logging.getLogger(__name__)
def migrate(cr, version):
"""Remove the unique_variable_value_server constraint before migration."""
cr.execute(
"""
ALTER TABLE cx_tower_variable_value
DROP CONSTRAINT IF EXISTS unique_variable_value_server
"""
)
_logger.info(
"Removed unique_variable_value_server constraint from cx_tower_variable_value"
)