Tower: upload cetmix_tower_server 18.0.2.0.0 (was 18.0.2.0.0, via marketplace)

This commit is contained in:
2026-05-03 18:54:38 +00:00
parent 5880120a84
commit c83da26305
235 changed files with 89704 additions and 0 deletions

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"
)