<?xml version="1.0" encoding="utf-8" ?>
<odoo>

    <record id="view_mgmtsystem_hazard_test_form" model="ir.ui.view">
      <field name="name">mgmtsystem.hazard.test.form</field>
      <field name="model">mgmtsystem.hazard.test</field>
      <field name="arch" type="xml">
        <form string="Implementation Test">
          <group colspan="4" col="4">
            <field name="name" />
            <field name="responsible_user_id" />
            <newline />
            <field name="review_date" />
            <field name="executed" />
          </group>
        </form>
      </field>
    </record>

    <record id="view_mgmtsystem_hazard_test_tree" model="ir.ui.view">
      <field name="name">mgmtsystem.hazard.test.tree</field>
      <field name="model">mgmtsystem.hazard.test</field>
      <field name="arch" type="xml">
        <tree>
          <field name="name" />
          <field name="responsible_user_id" />
          <field name="review_date" />
          <field name="executed" />
        </tree>
      </field>
    </record>

    <record id="view_mgmtsystem_hazard_test_filter" model="ir.ui.view">
      <field name="name">Implementation Tests</field>
      <field name="model">mgmtsystem.hazard.test</field>
      <field name="arch" type="xml">
        <search string="Implementation Tests">
          <field name="name" />
          <field name="responsible_user_id" />
          <field name="review_date" />
          <field name="executed" />
        </search>
      </field>
    </record>

    <record id="open_mgmtsystem_hazard_test_list" model="ir.actions.act_window">
      <field name="name">Implementation Tests</field>
      <field name="res_model">mgmtsystem.hazard.test</field>
      <field name="view_mode">tree,form</field>
      <field name="view_id" eval="False" />
      <field name="search_view_id" ref="view_mgmtsystem_hazard_test_filter" />
    </record>

</odoo>
