<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright 2016-2022 Akretion France (http://www.akretion.com/)
  @author: Alexis de Lattre <alexis.delattre@akretion.com>
  License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->

<odoo>

<record id="view_order_form" model="ir.ui.view">
    <field name="name">add.bom.sale.order.form</field>
    <field name="model">sale.order</field>
    <field name="inherit_id" ref="sale.view_order_form"/>
    <field name="arch" type="xml">
        <button name="action_quotation_send" position="before">
            <button name="%(sale_add_phantom_bom_action)d" type="action"
                string="Add Kit" states="draft,sent"/>
        </button>
    </field>
</record>

</odoo>
