<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright 2015-2020 Akretion (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="procurement_scheduler_log_tree" model="ir.ui.view">
    <field name="name">procurement_scheduler_log_tree</field>
    <field name="model">procurement.scheduler.log</field>
    <field name="arch" type="xml">
        <tree string="Procurement Scheduler Logs">
            <field name="start_datetime"/>
            <field name="create_date" string="Scheduler End Time"/>
            <field name="create_uid" string="Scheduler Executed by"/>
            <field name="company_id" groups="base.group_multi_company"/>
        </tree>
    </field>
</record>

<record id="procurement_scheduler_log_action" model="ir.actions.act_window">
    <field name="name">Scheduler Logs</field>
    <field name="res_model">procurement.scheduler.log</field>
    <field name="view_mode">tree</field>
</record>

<menuitem id="procurement_scheduler_log_menu"
    action="procurement_scheduler_log_action"
    parent="stock.menu_stock_warehouse_mgmt" sequence="140"/>

</odoo>
