*: fixup linters
parent
83f3d1dcbb
commit
ee989ea9f1
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<odoo noupdate="1">
|
||||
<record id="nsca_server_default" model="nsca.server">
|
||||
<field name="name">nagios.example.net</field>
|
||||
<field name="port">5667</field>
|
||||
|
@ -15,5 +14,4 @@
|
|||
<field name="nsca_function">nsca_check_mails</field>
|
||||
<field name="nsca_args" />
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
<!-- © 2015 ABF OSIELL <http://osiell.com>
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="view_nsca_check_form" model="ir.ui.view">
|
||||
<field name="name">nsca.check.form</field>
|
||||
<field name="model">nsca.check</field>
|
||||
|
@ -25,10 +24,10 @@
|
|||
<field name="nsca_model" />
|
||||
<field name="nsca_function" />
|
||||
<field
|
||||
name="nsca_args"
|
||||
widget="ace"
|
||||
options="{'mode': 'python'}"
|
||||
/>
|
||||
name="nsca_args"
|
||||
widget="ace"
|
||||
options="{'mode': 'python'}"
|
||||
/>
|
||||
<field name="allow_void_result" />
|
||||
<div colspan="2">
|
||||
<p>The method must return a tuple (RC,
|
||||
|
@ -59,7 +58,7 @@
|
|||
<field name="name">nsca.check.tree</field>
|
||||
<field name="model">nsca.check</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="NSCA Checks" decoration-muted="active==False">
|
||||
<tree decoration-muted="active==False">
|
||||
<field name="service" />
|
||||
<field name="server_id" />
|
||||
<field name="nextcall" />
|
||||
|
@ -79,9 +78,8 @@
|
|||
</field>
|
||||
</record>
|
||||
<menuitem
|
||||
id="menu_action_nsca_check_tree"
|
||||
parent="menu_nsca_client"
|
||||
action="action_nsca_check_tree"
|
||||
/>
|
||||
</data>
|
||||
id="menu_action_nsca_check_tree"
|
||||
parent="menu_nsca_client"
|
||||
action="action_nsca_check_tree"
|
||||
/>
|
||||
</odoo>
|
||||
|
|
|
@ -2,7 +2,5 @@
|
|||
<!-- © 2015 ABF OSIELL <http://osiell.com>
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
|
||||
<odoo>
|
||||
<data>
|
||||
<menuitem id="menu_nsca_client" parent="base.menu_custom" name="NSCA Client" />
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
<!-- © 2015 ABF OSIELL <http://osiell.com>
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="view_nsca_server_form" model="ir.ui.view">
|
||||
<field name="name">nsca.server.form</field>
|
||||
<field name="model">nsca.server</field>
|
||||
|
@ -11,16 +10,16 @@
|
|||
<sheet>
|
||||
<div class="oe_button_box" name="button_box">
|
||||
<button
|
||||
name="show_checks"
|
||||
type="object"
|
||||
class="oe_stat_button"
|
||||
icon="fa-check-square"
|
||||
>
|
||||
name="show_checks"
|
||||
type="object"
|
||||
class="oe_stat_button"
|
||||
icon="fa-check-square"
|
||||
>
|
||||
<field
|
||||
name="check_count"
|
||||
widget="statinfo"
|
||||
string="Checks"
|
||||
/>
|
||||
name="check_count"
|
||||
widget="statinfo"
|
||||
string="Checks"
|
||||
/>
|
||||
<field name="check_ids" invisible="1" />
|
||||
</button>
|
||||
</div>
|
||||
|
@ -42,7 +41,7 @@
|
|||
<field name="name">nsca.server.tree</field>
|
||||
<field name="model">nsca.server</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="NSCA Servers">
|
||||
<tree>
|
||||
<field name="name" />
|
||||
<field name="port" />
|
||||
<field name="config_file_path" />
|
||||
|
@ -57,9 +56,8 @@
|
|||
<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>
|
||||
id="menu_action_nsca_server_tree"
|
||||
parent="menu_nsca_client"
|
||||
action="action_nsca_server_tree"
|
||||
/>
|
||||
</odoo>
|
||||
|
|
Loading…
Reference in New Issue