From c7912ec5a6c2836dcb1a422c53198b6a1c1c6ddc 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_action.py | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 addons/cetmix_tower_yaml/models/cx_tower_jet_action.py diff --git a/addons/cetmix_tower_yaml/models/cx_tower_jet_action.py b/addons/cetmix_tower_yaml/models/cx_tower_jet_action.py new file mode 100644 index 0000000..2af9459 --- /dev/null +++ b/addons/cetmix_tower_yaml/models/cx_tower_jet_action.py @@ -0,0 +1,26 @@ +# Copyright (C) 2024 Cetmix OÜ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from odoo import models + + +class CxTowerJetAction(models.Model): + _name = "cx.tower.jet.action" + _inherit = [ + "cx.tower.jet.action", + "cx.tower.yaml.mixin", + ] + + def _get_fields_for_yaml(self): + res = super()._get_fields_for_yaml() + res += [ + "name", + "note", + "priority", + "access_level", + "state_from_id", + "state_transit_id", + "state_to_id", + "state_error_id", + "plan_id", + ] + return res