<commit_before><odoo>
    <record id="view_account_payment_register_form" model="ir.ui.view">
        <field name="name">account.payment.register.form</field>
        <field name="model">account.payment.register</field>
        <field name="inherit_id" ref="account.view_account_payment_register_form" />
        <field name="groups_id" eval="[(4, ref('account.group_account_invoice'))]" />
        <field name="arch" type="xml">
            <xpath
                expr="/form/group/group[@name='group3']/div/div"
                position="attributes"
            >
                <attribute
                    name="attrs"
                >{'invisible': [('payment_difference_handling','!=','reconcile')]}</attribute>
            </xpath>
            <xpath expr="/form/group/group[@name='group3']" position="after">
                <group
                    attrs="{'invisible': [('payment_difference_handling', '!=', 'reconcile_multi_deduct')]}"
                >
                    <field name="deduct_residual" invisible="1" />
                    <field
                        name="deduction_ids"
                        nolabel="1"
                        colspan="2"
                        context="{'default_amount': deduct_residual}"
                    >
                        <tree editable="bottom">
                            <field name="currency_id" invisible="1" />
                            <field name="open" />
                            <field
                                name="account_id"
                                attrs="{'required': [('open', '=', False)]}"
                            />
                            <field name="name" />
                            <field name="amount" sum="Total Deduction" />
                        </tree>
                    </field>
                </group>
            </xpath>
        </field>
    </record>
</odoo><commit_msg>[FIX] account_payment_multi_deduct: edit register payment view<commit_after><odoo>
    <record id="view_account_payment_register_form" model="ir.ui.view">
        <field name="name">account.payment.register.form</field>
        <field name="model">account.payment.register</field>
        <field name="inherit_id" ref="account.view_account_payment_register_form" />
        <field name="groups_id" eval="[(4, ref('account.group_account_invoice'))]" />
        <field name="arch" type="xml">
            <xpath
                expr="/form/group/group[@name='group3']/div/div"
                position="attributes"
            >
                <attribute
                    name="attrs"
                >{'invisible': [('payment_difference_handling','!=','reconcile')]}</attribute>
            </xpath>
            <xpath expr="/form/group/group[@name='group3']" position="after">
                <group
                    colspan="4"
                    attrs="{'invisible': [('payment_difference_handling', '!=', 'reconcile_multi_deduct')]}"
                >
                    <field name="deduct_residual" invisible="1" />
                    <field
                        name="deduction_ids"
                        nolabel="1"
                        colspan="2"
                        context="{'default_amount': deduct_residual}"
                    >
                        <tree editable="bottom">
                            <field name="currency_id" invisible="1" />
                            <field name="open" />
                            <field
                                name="account_id"
                                attrs="{'required': [('open', '=', False)]}"
                            />
                            <field name="name" />
                            <field name="amount" sum="Total Deduction" />
                        </tree>
                    </field>
                </group>
            </xpath>
        </field>
    </record>
</odoo>
{'fraction_non_alphanumeric': 0.140485312899106, 'fraction_numerical': 0.0038314176245210726, 'mean_word_length': 1.2967741935483872, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4671936', 'n_tokens_mistral': 1013, 'n_tokens_neox': 950, 'n_words': 139}