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.

55 lines
1.7 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- © 2015 ABF OSIELL <http://osiell.com>
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
  4. <openerp>
  5. <data>
  6. <record id="view_nsca_server_form" model="ir.ui.view">
  7. <field name="name">nsca.server.form</field>
  8. <field name="model">nsca.server</field>
  9. <field name="arch" type="xml">
  10. <form string="NSCA Server">
  11. <sheet>
  12. <group string="NSCA Server">
  13. <field name="name" style="width: 30%;"/>
  14. <field name="port"/>
  15. <field name="config_file_path"/>
  16. </group>
  17. <group string="Node identity">
  18. <field name="node_hostname"/>
  19. </group>
  20. <group string="Checks">
  21. <field name="check_ids" nolabel="1"/>
  22. </group>
  23. </sheet>
  24. </form>
  25. </field>
  26. </record>
  27. <record id="view_nsca_server_tree" model="ir.ui.view">
  28. <field name="name">nsca.server.tree</field>
  29. <field name="model">nsca.server</field>
  30. <field name="arch" type="xml">
  31. <tree string="NSCA Servers">
  32. <field name="name"/>
  33. <field name="port"/>
  34. <field name="config_file_path"/>
  35. </tree>
  36. </field>
  37. </record>
  38. <record model="ir.actions.act_window" id="action_nsca_server_tree">
  39. <field name="name">Servers</field>
  40. <field name="type">ir.actions.act_window</field>
  41. <field name="res_model">nsca.server</field>
  42. <field name="view_type">form</field>
  43. <field name="view_id" ref="view_nsca_server_tree"/>
  44. </record>
  45. <menuitem id="menu_action_nsca_server_tree"
  46. parent="menu_nsca_client"
  47. action="action_nsca_server_tree"/>
  48. </data>
  49. </openerp>