Tower: upload cetmix_tower_yaml 16.0.2.0.3 (via marketplace)
This commit is contained in:
31
addons/cetmix_tower_yaml/models/cx_tower_command.py
Normal file
31
addons/cetmix_tower_yaml/models/cx_tower_command.py
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright (C) 2024 Cetmix OÜ
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
from odoo import models
|
||||
|
||||
|
||||
class CxTowerCommand(models.Model):
|
||||
_name = "cx.tower.command"
|
||||
_inherit = ["cx.tower.command", "cx.tower.yaml.mixin"]
|
||||
|
||||
def _get_fields_for_yaml(self):
|
||||
res = super()._get_fields_for_yaml()
|
||||
res += [
|
||||
"access_level",
|
||||
"name",
|
||||
"action",
|
||||
"allow_parallel_run",
|
||||
"note",
|
||||
"os_ids",
|
||||
"tag_ids",
|
||||
"path",
|
||||
"file_template_id",
|
||||
"flight_plan_id",
|
||||
"code",
|
||||
"server_status",
|
||||
"variable_ids",
|
||||
"secret_ids",
|
||||
"no_split_for_sudo",
|
||||
"if_file_exists",
|
||||
"disconnect_file",
|
||||
]
|
||||
return res
|
||||
Reference in New Issue
Block a user