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

  <record id="view_sale_exception_confirm" model="ir.ui.view">
    <field name="name">Sale Exceptions User</field>
    <field name="model">sale.exception.confirm</field>
    <field name="inherit_id" ref="sale_exception.view_sale_exception_confirm"/>
    <field name="arch" type="xml">
      <xpath expr="//field[@name='ignore']" position="after">
        <field name="show_ignore_button" invisible="1"/>
      </xpath>
      <xpath expr="//button[@name='action_confirm']" position="after">
        <button name="action_ignore" string="Ignore" colspan="1" type="object" attrs="{'invisible': [('show_ignore_button', '=', False)]}"/>
      </xpath>
    </field>
  </record>

</odoo>
