<commit_before><?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="view_picking_form" model="ir.ui.view">
        <field name="model">stock.picking</field>
        <field name="inherit_id" ref="stock.view_picking_form"/>
        <field name="arch" type="xml">
            <notebook position="inside">
                <page string="Returns" attrs="{'invisible': [('returned_ids', '=', [])]}">
                    <field name="returned_ids"/>
                    <field name="source_picking_id" invisible="1"/>
                </page>
            </notebook>
            <div name="button_box" position="inside">
                <button name="action_show_source_picking" type="object" class="oe_stat_button"
                        icon="fa-truck"
                        attrs="{'invisible': [('source_picking_id', '=', False)]}">
                    <div class="o_form_field o_stat_info">
                        <span class="o_stat_text">Source picking</span>
                    </div>
                </button>
            </div>
        </field>
    </record>

</odoo><commit_msg>pre-commit update<commit_after><?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="view_picking_form" model="ir.ui.view">
        <field name="model">stock.picking</field>
        <field name="inherit_id" ref="stock.view_picking_form" />
        <field name="arch" type="xml">
            <notebook position="inside">
                <page
                    string="Returns"
                    attrs="{'invisible': [('returned_ids', '=', [])]}"
                >
                    <field name="returned_ids" />
                    <field name="source_picking_id" invisible="1" />
                </page>
            </notebook>
            <div name="button_box" position="inside">
                <button
                    name="action_show_source_picking"
                    type="object"
                    class="oe_stat_button"
                    icon="fa-truck"
                    attrs="{'invisible': [('source_picking_id', '=', False)]}"
                >
                    <div class="o_form_field o_stat_info">
                        <span class="o_stat_text">Source picking</span>
                    </div>
                </button>
            </div>
        </field>
    </record>
</odoo>
{'fraction_non_alphanumeric': 0.15460809646856158, 'fraction_numerical': 0.0034453057708871662, 'mean_word_length': 1.6130483689538808, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 2, '>': 51, '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': '2648329', 'n_tokens_mistral': 676, 'n_tokens_neox': 643, 'n_words': 102}