Tower: upload cetmix_tower_server 16.0.3.0.1 (via marketplace)
This commit is contained in:
17
addons/cetmix_tower_server/models/cx_tower_os.py
Normal file
17
addons/cetmix_tower_server/models/cx_tower_os.py
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Copyright (C) 2022 Cetmix OÜ
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
from odoo import fields, models
|
||||||
|
|
||||||
|
|
||||||
|
class CxTowerOs(models.Model):
|
||||||
|
"""Operating System"""
|
||||||
|
|
||||||
|
_name = "cx.tower.os"
|
||||||
|
_inherit = [
|
||||||
|
"cx.tower.reference.mixin",
|
||||||
|
]
|
||||||
|
_description = "Cetmix Tower Operating System"
|
||||||
|
_order = "name"
|
||||||
|
|
||||||
|
color = fields.Integer(help="For better visualization in views")
|
||||||
|
parent_id = fields.Many2one(string="Previous Version", comodel_name="cx.tower.os")
|
||||||
Reference in New Issue
Block a user