mirror of
https://github.com/bringout/oca-ocb-hw.git
synced 2026-04-20 09:02:01 +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,27 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2019 Creu Blanca
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
<odoo>
|
||||
<record model="ir.ui.view" id="iot_device_input_form_view">
|
||||
<field name="name">iot.device.input.form (in iot_rule)</field>
|
||||
<field name="model">iot.device.input</field>
|
||||
<field name="inherit_id" ref="iot_input_oca.iot_device_input_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="call_function" position="after">
|
||||
<button
|
||||
name="generate_iot_lock"
|
||||
groups="iot_oca.group_iot_manager"
|
||||
string="Generate IoT Lock for this Input"
|
||||
type="object"
|
||||
attrs="{'invisible': [('lock_id', '!=', False)]}"
|
||||
/>
|
||||
<field
|
||||
name="lock_id"
|
||||
groups="iot_oca.group_iot_user"
|
||||
attrs="{'invisible': [('lock_id', '=', False)]}"
|
||||
string="IoT Lock associated"
|
||||
/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue