mirror of
https://github.com/bringout/oca-ocb-hw.git
synced 2026-04-22 09:22:03 +02:00
Move 7 IoT modules to oca-ocb-hw and 9 product modules to oca-product
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e4803a70af
commit
b1d16a46bf
292 changed files with 19657 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright (C) 2018 Creu Blanca
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class IoTCommunicationSystem(models.Model):
|
||||
_name = "iot.communication.system"
|
||||
_description = "IoT Communication System"
|
||||
# TODO: Rename it to iot.communication.system System is confusing
|
||||
|
||||
name = fields.Char(required=True)
|
||||
device_ids = fields.One2many("iot.device", inverse_name="communication_system_id")
|
||||
communication_system_action_ids = fields.One2many(
|
||||
"iot.communication.system.action", inverse_name="communication_system_id"
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue