mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-19 17:32:02 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,62 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<record id="iot_system_tree" model="ir.ui.view">
|
||||
<field name="name">iot.communication.system.tree</field>
|
||||
<field name="model">iot.communication.system</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree create="0" delete="0">
|
||||
<field name="name" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record id="iot_system_form" model="ir.ui.view">
|
||||
<field name="name">iot.communication.system.form</field>
|
||||
<field name="model">iot.communication.system</field>
|
||||
<field name="arch" type="xml">
|
||||
<form create="0" delete="0" edit="0">
|
||||
<header />
|
||||
<sheet>
|
||||
<div class="oe_title">
|
||||
<h1>
|
||||
<field name="name" />
|
||||
</h1>
|
||||
</div>
|
||||
<notebook>
|
||||
<page string="Devices" id="devices">
|
||||
<field name="device_ids" readonly="True" />
|
||||
</page>
|
||||
<page string="Actions" id="actions">
|
||||
<field
|
||||
name="communication_system_action_ids"
|
||||
readonly="True"
|
||||
/>
|
||||
</page>
|
||||
</notebook>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<record id="iot_system_action_tree" model="ir.ui.view">
|
||||
<field name="name">iot.communication.system.action.tree</field>
|
||||
<field name="model">iot.communication.system.action</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree create="0" delete="0">
|
||||
<field name="name" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.actions.act_window" id="iot_system_action">
|
||||
<field name="name">IoT System</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">iot.communication.system</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
<menuitem
|
||||
name="Systems"
|
||||
sequence="90"
|
||||
id="iot_system_menu"
|
||||
action="iot_system_action"
|
||||
parent="iot_configuration_menu"
|
||||
groups="group_iot_manager"
|
||||
/>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue