From 5c587f8e7d33c70c7a345b596c0588145565aea2 Mon Sep 17 00:00:00 2001 From: git_admin Date: Mon, 27 Apr 2026 08:45:30 +0000 Subject: [PATCH] Tower: upload cetmix_tower_yaml 16.0.2.0.3 (via marketplace) --- .../models/cx_tower_variable_value.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 addons/cetmix_tower_yaml/models/cx_tower_variable_value.py diff --git a/addons/cetmix_tower_yaml/models/cx_tower_variable_value.py b/addons/cetmix_tower_yaml/models/cx_tower_variable_value.py new file mode 100644 index 0000000..947d860 --- /dev/null +++ b/addons/cetmix_tower_yaml/models/cx_tower_variable_value.py @@ -0,0 +1,20 @@ +# Copyright (C) 2024 Cetmix OÜ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from odoo import models + + +class CxTowerVariableValue(models.Model): + _name = "cx.tower.variable.value" + _inherit = ["cx.tower.variable.value", "cx.tower.yaml.mixin"] + + def _get_fields_for_yaml(self): + res = super()._get_fields_for_yaml() + res += [ + "sequence", + "access_level", + "variable_id", + "value_char", + "variable_ids", + "required", + ] + return res