You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.8 KiB
57 lines
1.8 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- © 2015 ABF OSIELL <http://osiell.com>
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
|
|
|
|
<openerp>
|
|
<data>
|
|
|
|
<record id="view_nsca_server_form" model="ir.ui.view">
|
|
<field name="name">nsca.server.form</field>
|
|
<field name="model">nsca.server</field>
|
|
<field name="arch" type="xml">
|
|
<form string="NSCA Server">
|
|
<sheet>
|
|
<group string="NSCA Server">
|
|
<field name="name" style="width: 30%;"/>
|
|
<field name="port"/>
|
|
<field name="password" password="1"/>
|
|
<field name="encryption_method"/>
|
|
<field name="config_file_path"/>
|
|
</group>
|
|
<group string="Node identity">
|
|
<field name="node_hostname"/>
|
|
</group>
|
|
<group string="Checks">
|
|
<field name="check_ids" nolabel="1"/>
|
|
</group>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_nsca_server_tree" model="ir.ui.view">
|
|
<field name="name">nsca.server.tree</field>
|
|
<field name="model">nsca.server</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="NSCA Servers">
|
|
<field name="name"/>
|
|
<field name="port"/>
|
|
<field name="config_file_path"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window" id="action_nsca_server_tree">
|
|
<field name="name">Servers</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">nsca.server</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_id" ref="view_nsca_server_tree"/>
|
|
</record>
|
|
|
|
<menuitem id="menu_action_nsca_server_tree"
|
|
parent="menu_nsca_client"
|
|
action="action_nsca_server_tree"/>
|
|
|
|
</data>
|
|
</openerp>
|