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

    <record id="view_project_exception_confirm" model="ir.ui.view">
        <field name="name">Project Exceptions Rules</field>
        <field name="model">project.exception.confirm</field>
        <field name="inherit_id" ref="base_exception.view_exception_rule_confirm"/>
        <field name="mode">primary</field>
        <field name="arch" type="xml">
            <xpath expr="//footer" position="inside">
                <button class="oe_link" special="cancel" string="Cancel"/>
            </xpath>
        </field>
    </record>

    <record id="action_project_exception_confirm" model="ir.actions.act_window">
        <field name="name">Blocked due to exceptions</field>
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">project.exception.confirm</field>
        <field name="view_mode">form</field>
        <field name="view_id" ref="view_project_exception_confirm"/>
        <field name="target">new</field>
    </record>

</odoo>
