<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2019-Today GRAP (http://www.grap.coop)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
 License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->

<odoo>

    <record id="view_stock_picking_type_form" model="ir.ui.view">
        <field name="model">stock.picking.type</field>
        <field name="inherit_id" ref="stock.view_picking_type_form" />
        <field name="arch" type="xml">
            <xpath expr="//field[@name='default_location_src_id']/.." position="after">

                <group string="Mobile App" col="4">
                    <field name="mobile_available" />
                    <field name="mobile_backorder_create" attrs="{'invisible': [('mobile_available', '=', False)]}"/>
                    <field name="mobile_product_field_ids" attrs="{'invisible': [('mobile_available', '=', False)]}"
                        widget="many2many_tags"/>
                </group>
            </xpath>

        </field>
    </record>

</odoo>
