<?xml version="1.0"?>
<odoo>
    <record id="tracking_view" model="ir.ui.view">
        <field name="name">tracking</field>
        <field name="model">stock.picking</field>
        <field name="inherit_id" ref="delivery.view_picking_withcarrier_out_form"/>
        <field name="arch" type="xml">
            <xpath expr="//group//field[@name='carrier_id']" position="after">
                <field name="senderNickName"/>
                <field name="expressItemName"/>
                <field name="deliveryType"/>
                <field name="receiverName"/>
                <field name="receiverMobile"/>
                <field name="receiverProvinceName"/>
                <field name="receiverCityName"/>
                <field name="receiverCountyName"/>
                <field name="receiverTownName"/>
                <field name="receiverCompany"/>
                <field name="remark"/>
                <field name="grossWeight"/>
                <field name="grossVolume"/>
                <field name="pickupBeginTime"/>
                <field name="bill"/>

            </xpath>
            <xpath expr="//group//field[@name='group_id']" position="after">
                <field name="bill_show" widget="pdf_viewer"/>

            </xpath>
            <xpath expr="//group[@name='other_infos']" position="after">
<!--                <group>-->
                    <div>
                        <button string="京东物流下单" name="create_order" type="object" confirm="是否确认物流下单" class="btn-primary"/>
                    </div>

<!--                </group>-->
<!--                <group>-->
                    <div>
                        <button string="获取物流面单" name="get_bill" type="object" confirm="是否获取物流面单" class="btn-primary"/>

                    </div>

<!--                </group>-->

            </xpath>


        </field>
    </record>
</odoo>