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.

50 lines
1.5 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. </group>
  16. <group string="Checks">
  17. <field name="check_ids" nolabel="1"/>
  18. </group>
  19. </sheet>
  20. </form>
  21. </field>
  22. </record>
  23. <record id="view_nsca_server_tree" model="ir.ui.view">
  24. <field name="name">nsca.server.tree</field>
  25. <field name="model">nsca.server</field>
  26. <field name="arch" type="xml">
  27. <tree string="NSCA Servers">
  28. <field name="name"/>
  29. <field name="port"/>
  30. </tree>
  31. </field>
  32. </record>
  33. <record model="ir.actions.act_window" id="action_nsca_server_tree">
  34. <field name="name">Servers</field>
  35. <field name="type">ir.actions.act_window</field>
  36. <field name="res_model">nsca.server</field>
  37. <field name="view_type">form</field>
  38. <field name="view_id" ref="view_nsca_server_tree"/>
  39. </record>
  40. <menuitem id="menu_action_nsca_server_tree"
  41. parent="menu_nsca_client"
  42. action="action_nsca_server_tree"/>
  43. </data>
  44. </openerp>