<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright 2020 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_inventory_form" model="ir.ui.view">
    <field name="name">xlsx.stock.inventory.form</field>
    <field name="model">stock.inventory</field>
    <field name="inherit_id" ref="stock.view_inventory_form"/>
    <field name="arch"  type="xml">
        <button name="action_validate" position="after">
            <button name="%(stock_valuation_xlsx_action)d" type="action"
                states="done" string="XLSX Valuation Report"
                context="{'default_source': 'inventory', 'default_inventory_id': active_id}"/>
        </button>
    </field>
</record>


</odoo>
