<odoo>
  <data>
    <record id="build_stat_regex_form" model="ir.ui.view">
        <field name="name">runbot.build.stat.regex.form</field>
        <field name="model">runbot.build.stat.regex</field>
        <field name="arch" type="xml">
          <form>
            <sheet>
              <group name="stat_regex_group">
                <field name="name"/>
                <field name="regex" placeholder="odoo.addons.(?P&lt;key&gt;.+) tested in .+, (?P&lt;value&gt;\d+) queries"/>
                <field name="generic"/>
                <field name="description"/>
                <field name="sequence"/>
                <field name="config_step_ids"/>
              </group>
            </sheet>
          </form>
        </field>
    </record>

    <record id="build_stat_regex_tree" model="ir.ui.view">
        <field name="name">runbot.build.stat.regex.list</field>
        <field name="model">runbot.build.stat.regex</field>
        <field name="arch" type="xml">
            <list string="Statistics Regexes">
                <field name="name"/>
                <field name="generic"/>
                <field name="description"/>
                <field name="regex"/>
                <field name="sequence" widget="handle"/>
            </list>
        </field>
    </record>

    <record id="open_view_stat_regex_tree" model="ir.actions.act_window">
        <field name="name">Stat regex</field>
        <field name="res_model">runbot.build.stat.regex</field>
        <field name="view_mode">list,form</field>
    </record>

  </data>
</odoo>
