<odoo>
  <data>
    <record id="warning_view_tree" model="ir.ui.view">
      <field name="name">runbot.warning.list</field>
      <field name="model">runbot.warning</field>
      <field name="arch" type="xml">
        <list string="Runbot Warnings">
          <field name="write_date"/>
          <field name="message"/>
          <field name="count"/>
        </list>
      </field>
    </record>

    <record id="open_view_warning_tree" model="ir.actions.act_window">
      <field name="name">Warnings</field>
      <field name="res_model">runbot.warning</field>
      <field name="view_mode">list</field>
    </record>

  </data>
</odoo>
