<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright 2014-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="view_picking_form" model="ir.ui.view">
    <field name="name">stock_picking_batch_usability.stock.picking_form</field>
    <field name="model">stock.picking</field>
    <field name="inherit_id" ref="stock.view_picking_form" />
    <field name="arch" type="xml">
        <group name="other_infos" position="inside">
            <field name="batch_id" attrs="{'invisible': [('picking_type_code', '!=', 'outgoing')]}"/>
        </group>
    </field>
</record>


</odoo>
