<?xml version="1.0"?>
<data><header position="inside">
                <!-- modified through an onchange, must be present but not readonly -->
                <field name="recompute_delivery_price" invisible="1"/>
            </header>
            <div name="so_button_below_order_lines" position="inside">
                <button string="Add shipping" name="action_open_delivery_wizard" type="object" invisible="is_all_service or not order_line or delivery_set"/>
                <button string="Update shipping cost" name="action_open_delivery_wizard" context="{'carrier_recompute':True}" type="object" class="text-warning btn-secondary" invisible="is_all_service or not recompute_delivery_price or not delivery_set"/>
                <button string="Update shipping cost" name="action_open_delivery_wizard" context="{'carrier_recompute':True}" type="object" invisible="is_all_service or recompute_delivery_price or not delivery_set"/>
            </div>
            <xpath expr="//field[@name='order_line']/list" position="attributes">
                <attribute name="decoration-warning" add="(recompute_delivery_price and is_delivery)" separator="or"/>
            </xpath>
            <label for="commitment_date" position="before">
                <field name="shipping_weight" readonly="True"/>
            </label>
        </data>