mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-19 20:12:08 +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,30 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2020 Creu Blanca
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
<odoo>
|
||||
<record model="ir.ui.view" id="res_partner_form_view">
|
||||
<field name="name">res.partner.form (in iot_rule)</field>
|
||||
<field name="model">res.partner</field>
|
||||
<field name="inherit_id" ref="base.view_partner_form" />
|
||||
<field name="arch" type="xml">
|
||||
<div name="button_box" position="inside">
|
||||
<button
|
||||
class="oe_stat_button"
|
||||
name="action_view_iot_key"
|
||||
type="object"
|
||||
attrs="{'invisible': [('iot_key_count', '=', 0)]}"
|
||||
icon="fa-key"
|
||||
groups="iot_oca.group_iot_user"
|
||||
>
|
||||
<field
|
||||
string="Keys"
|
||||
name="iot_key_count"
|
||||
widget="statinfo"
|
||||
groups="iot_oca.group_iot_user"
|
||||
/>
|
||||
<field name="iot_key_ids" invisible="1" />
|
||||
</button>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue