From 4b5170e8b72747adfb1412cdb704d8b7037e9ebf Mon Sep 17 00:00:00 2001 From: git_admin Date: Mon, 27 Apr 2026 08:32:58 +0000 Subject: [PATCH] Tower: upload cetmix_tower_yaml 16.0.3.1.0 (via marketplace) --- .../models/cx_tower_jet_state.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 addons/cetmix_tower_yaml/models/cx_tower_jet_state.py diff --git a/addons/cetmix_tower_yaml/models/cx_tower_jet_state.py b/addons/cetmix_tower_yaml/models/cx_tower_jet_state.py new file mode 100644 index 0000000..f4b6801 --- /dev/null +++ b/addons/cetmix_tower_yaml/models/cx_tower_jet_state.py @@ -0,0 +1,22 @@ +# Copyright (C) 2024 Cetmix OÜ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from odoo import models + + +class CxTowerJetState(models.Model): + _name = "cx.tower.jet.state" + _inherit = [ + "cx.tower.jet.state", + "cx.tower.yaml.mixin", + ] + + def _get_fields_for_yaml(self): + res = super()._get_fields_for_yaml() + res += [ + "name", + "sequence", + "access_level", + "color", + "note", + ] + return res