<record model="ir.ui.view" id="it_access_form">
<field name="name">it.access.form</field>
<field name="model">it.access</field>
<field name="arch" type="xml">
<form string="Access">
<sheet>
<div class="oe_title">
<div class="oe_edit_only">
<label for="name"/>
</div>
<h1>
<field name="name"/>
</h1>
<div class="oe_edit_only">
<label for="equipment_id"/>
</div>
<h1>
<field name="equipment_id"/>
</h1>
<div class="oe_edit_only">
<label for="partner_id"/>
</div>
<h1>
<field name="partner_id"/>
</h1>
</div>
<group>
<!--fields-->
</group>
<field colspan="4" name="note" nolabel="1" placeholder="Write a note.."/>
<notebook>
<page string="Information">
<group col="4">
<field name="user"/>
<field name="application"/>
<field name="port"/>
<field name="description"/>
<field name="link" widget="url" />
</group>
<newline/>
<group col="5">
<field name="password" on_change="onchange_password(encrypted)"/>
<button name="get_random_password" string="Generate" type="object" groups="it.group_it_mod"
confirm="Are you sure?" colspan="1" icon="gtk-convert"/>
<button name="encrypt_password" type="object" string="Encrypt" confirm="Are you sure?"
icon="gtk-execute" colspan="1" attrs="{'invisible': [('encrypted', '=', True)]}"/>
<button name="decrypt_password" type="object" string="Decrypt" icon="gtk-print"
colspan="1" attrs="{'invisible': [('encrypted', '=', False)]}"/>
<newline/>
<field name="encrypted" readonly="True"/>
</group>
</page>
<page string="SSL">
<group label="SSL">
<field name="ssl_csr" filename="ssl_csr_filename"/>
<field name="ssl_csr_filename" invisible="1"/>
<field name="ssl_cert" filename="ssl_cert_filename"/>
<field name="ssl_cert_filename" invisible="1"/>
<field name="ssl_publickey" filename="ssl_publickey_filename"/>
<field name="ssl_publickey_filename" invisible="1"/>
<field name="ssl_privatekey" filename="ssl_privatekey_filename"/>
<field name="ssl_privatekey_filename" invisible="1"/>
</group>
</page>
<page string="Audit Data" groups="it.group_it_mod">
<group>
<group>
<field name="user_id"/>
<field name="creation_date" />
</group>
</group>
</page>
<page string="Configuration" groups="it.group_it_mod">
<group>
<group>
<field name="active" />
<field name="company_id" string="Company" groups="base.group_multi_company"/>
</group>
</group>
</page>
</notebook>
</sheet>
</form>
</field>
</record>