<?xml version="1.0"?>
<data><xpath expr="//group[@name='locations']" position="replace">
                <group string="Locations" groups="stock.group_stock_multi_locations" name="locations">
                    <field name="default_product_location_src_id" options="{'no_create': True}" invisible="code != 'repair_operation'" required="code == 'repair_operation'"/>
                    <field name="default_product_location_dest_id" options="{'no_create': True}" invisible="code != 'repair_operation'" required="code == 'repair_operation'"/>
                    <label for="default_location_src_id" name="default_location_src_id_label" invisible="code == 'repair_operation'"/>
                    <label for="default_location_src_id" string="Component Source Location" invisible="code != 'repair_operation'"/>
                    <div class="o_row" name="default_location_src_id_div">
                        <field name="default_location_src_id" options="{'no_create': True}" required="1"/>
                    </div>
                    <label for="default_location_dest_id" name="default_location_dest_id_label" invisible="code == 'repair_operation'"/>
                    <label for="default_location_dest_id" string="Component Destination Location" invisible="code != 'repair_operation'"/>
                    <div class="o_row" name="default_location_dest_id_div">
                        <field name="default_location_dest_id" options="{'no_create': True}" required="1"/>
                    </div>
                    <field name="default_remove_location_dest_id" options="{'no_create': True}" invisible="code != 'repair_operation'" required="code == 'repair_operation'"/>
                    <field name="default_recycle_location_dest_id" options="{'no_create': True}" invisible="code != 'repair_operation'" required="code == 'repair_operation'"/>
                </group>
            </xpath>
            <xpath expr="//group[@name='locations']" position="after">
                <field name="return_type_of_ids" invisible="1"/>
                <group string="Repairs" invisible="not return_type_of_ids">
                    <field name="is_repairable"/>
                </group>
            </xpath>
            <field name="create_backorder" position="attributes">
                <attribute name="invisible">code == 'repair_operation'</attribute>
            </field>
        </data>