<commit_before><?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="sale_order_create_rma_action" model="ir.actions.act_window">
        <field name="name">Create RMAs</field>
        <field name="res_model">sale.order.rma.wizard</field>
        <field name="view_mode">form</field>
        <field name="target">new</field>
    </record>
    <record id="sale_order_rma_wizard_form_view" model="ir.ui.view">
        <field name="name">sale.order.rma.wizard.form</field>
        <field name="model">sale.order.rma.wizard</field>
        <field name="arch" type="xml">
            <form>
                <group>
                    <field name="line_ids" nolabel="1">
                        <tree editable="bottom">
                            <field name="order_id" invisible="1" />
                            <field name="allowed_product_ids" invisible="1" />
                            <field name="product_id" options="{'no_create': True}" />
                            <field name="quantity" />
                            <field name="uom_category_id" invisible="1" />
                            <field
                                name="uom_id"
                                groups="uom.group_uom"
                                options="{'no_create': True}"
                            />
                            <field name="allowed_picking_ids" invisible="1" />
                            <field name="picking_id" options="{'no_create': True}" />
                            <field name="operation_id" />
                        </tree>
                    </field>
                </group>
                <group>
                    <field name="commercial_partner_id" invisible="1" />
                    <field
                        name="partner_shipping_id"
                        domain="[('id', 'child_of', commercial_partner_id)]"
                    />
                    <field
                        name="location_id"<commit_msg>[FIX] rma_sale: Set picking_id field to required in wizard to avoid creating rma if nothing has been delivered yet<commit_after><?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="sale_order_create_rma_action" model="ir.actions.act_window">
        <field name="name">Create RMAs</field>
        <field name="res_model">sale.order.rma.wizard</field>
        <field name="view_mode">form</field>
        <field name="target">new</field>
    </record>
    <record id="sale_order_rma_wizard_form_view" model="ir.ui.view">
        <field name="name">sale.order.rma.wizard.form</field>
        <field name="model">sale.order.rma.wizard</field>
        <field name="arch" type="xml">
            <form>
                <group>
                    <field name="line_ids" nolabel="1">
                        <tree editable="bottom">
                            <field name="order_id" invisible="1" />
                            <field name="allowed_product_ids" invisible="1" />
                            <field name="product_id" options="{'no_create': True}" />
                            <field name="quantity" />
                            <field name="uom_category_id" invisible="1" />
                            <field
                                name="uom_id"
                                groups="uom.group_uom"
                                options="{'no_create': True}"
                            />
                            <field name="allowed_picking_ids" invisible="1" />
                            <field
                                name="picking_id"
                                options="{'no_create': True}"
                                required="1"
                            />
                            <field name="operation_id" />
                        </tree>
                    </field>
                </group>
                <group>
                    <field name="commercial_partner_id" invisible="1" />
                    <field
                        name="partner_shipping_id"
                        domain="[('id', 'child_of', commercial_partner_id)]"
                    />
                    <field
                        name="location_id"
{'fraction_non_alphanumeric': 0.12529776083849453, 'fraction_numerical': 0.004525964745116722, 'mean_word_length': 1.2287685774946921, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 2, '>': 77, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2551395', 'n_tokens_mistral': 1117, 'n_tokens_neox': 1062, 'n_words': 172}