flectra/addons/pad/views/res_config_settings_views.xml
2018-01-16 02:34:37 -08:00

21 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.pad</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
<field name="arch" type="xml">
<div id="msg_module_pad" position="replace">
<div class="content-group" attrs="{'invisible': [('module_pad','=',False)]}">
<div class="mt16 row">
<label for="pad_server" string="Server" class="col-xs-3 col-md-3 o_light_label"/>
<field name="pad_server" placeholder="e.g. beta.primarypad.com"/>
<label for="pad_key" string="API Key" class="col-xs-3 col-md-3 o_light_label"/>
<field name="pad_key"/>
</div>
</div>
</div>
</field>
</record>
</flectra>