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

        <record id="res_config_settings_view_form" model="ir.ui.view">
            <field name="name">res.config.settings.form.inherit.account.payment.group</field>
            <field name="model">res.config.settings</field>
            <field name="inherit_id" ref="account.res_config_settings_view_form"/>
            <field name="arch" type="xml">
                <div id="bank_cash">
                    <!-- this option is not so common, we only enable it for tec features -->
                    <div class="col-xs-12 col-md-6 o_setting_box" title="Used if you want let user choose payment type (inbound or outbound) when registering a payment from a payment group" groups="base.group_no_one">
                        <div class="o_setting_left_pane">
                            <field name="group_choose_payment_type" widget="upgrade_boolean"/>
                        </div>
                        <div class="o_setting_right_pane">
                            <label for="group_choose_payment_type"/>
                            <div class="text-muted">
                                Allow to choose inbound/outbound on payment lines.
                            </div>
                        </div>
                    </div>
                </div>

                <!-- supplier payments section -->
                <xpath expr="//div[@data-key='account']//div[hasclass('row','mt16', 'o_settings_container')][5]">
                    <div class="col-xs-12 col-md-6 o_setting_box" name="double_validation">
                        <div class="o_setting_left_pane">
                            <field name="double_validation" widget="upgrade_boolean"/>
                        </div>
                        <div class="o_setting_right_pane">
                            <label for="double_validation"/>
                            <span class="fa fa-lg fa-building-o" title="Values set here are company-specific." groups="base.group_multi_company"/>
                            <div class="text-muted">
                                Use two steps validation on payments to suppliers.
                            </div>
                        </div>
                    </div>

                    <div class="col-xs-12 col-md-6 o_setting_box" title="Allow users to choose a payment journal on invoices so that invoice is automatically paid after invoice validation. A payment will be created using choosen journal">
                        <div class="o_setting_left_pane">
                            <field name="group_pay_now_vendor_invoices" widget="upgrade_boolean"/>
                        </div>
                        <div class="o_setting_right_pane">
                            <label for="group_pay_now_vendor_invoices"/>
                            <div class="text-muted">
                                Allow to pay vendor invoices automatically on invoice validation.
                            </div>
                        </div>
                    </div>
                </xpath>

                <!-- customer payments section -->
                <xpath expr="//div[@data-key='account']//div[hasclass('row','mt16', 'o_settings_container')][4]">
                    <div class="col-xs-12 col-md-6 o_setting_box" title="Allow users to choose a payment journal on invoices so that invoice is automatically paid after invoice validation. A payment will be created using choosen journal">
                        <div class="o_setting_left_pane">
                            <field name="group_pay_now_customer_invoices" widget="upgrade_boolean"/>
                        </div>
                        <div class="o_setting_right_pane">
                            <label for="group_pay_now_customer_invoices"/>
                            <div class="text-muted">
                                Allow to pay customer invoices automatically on invoice validation.
                            </div>
                        </div>
                    </div>
                </xpath>
            </field>
        </record><commit_msg>[FIX] payment group: config settings<commit_after><?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>

        <record id="res_config_settings_view_form" model="ir.ui.view">
            <field name="name">res.config.settings.form.inherit.account.payment.group</field>
            <field name="model">res.config.settings</field>
            <field name="inherit_id" ref="account.res_config_settings_view_form"/>
            <field name="arch" type="xml">
                <div id="bank_cash">
                    <!-- this option is not so common, we only enable it for tec features -->
                    <div class="col-xs-12 col-md-6 o_setting_box" title="Used if you want let user choose payment type (inbound or outbound) when registering a payment from a payment group" groups="base.group_no_one">
                        <div class="o_setting_left_pane">
                            <field name="group_choose_payment_type" widget="upgrade_boolean"/>
                        </div>
                        <div class="o_setting_right_pane">
                            <label for="group_choose_payment_type"/>
                            <div class="text-muted">
                                Allow to choose inbound/outbound on payment lines.
                            </div>
                        </div>
                    </div>
                </div>

                <!-- supplier payments section -->
                <xpath expr="//div[@data-key='account']//field[@name='module_account_check_printing']/../.." position="before">
                    <div class="col-xs-12 col-md-6 o_setting_box" name="double_validation">
                        <div class="o_setting_left_pane">
                            <field name="double_validation" widget="upgrade_boolean"/>
                        </div>
                        <div class="o_setting_right_pane">
                            <label for="double_validation"/>
                            <span class="fa fa-lg fa-building-o" title="Values set here are company-specific." groups="base.group_multi_company"/>
                            <div class="text-muted">
                                Use two steps validation on payments to suppliers.
                            </div>
                        </div>
                    </div>

                    <div class="col-xs-12 col-md-6 o_setting_box" title="Allow users to choose a payment journal on invoices so that invoice is automatically paid after invoice validation. A payment will be created using choosen journal">
                        <div class="o_setting_left_pane">
                            <field name="group_pay_now_vendor_invoices" widget="upgrade_boolean"/>
                        </div>
                        <div class="o_setting_right_pane">
                            <label for="group_pay_now_vendor_invoices"/>
                            <div class="text-muted">
                                Allow to pay vendor invoices automatically on invoice validation.
                            </div>
                        </div>
                    </div>
                </xpath>

                <!-- customer payments section -->
                <xpath expr="//div[@data-key='account']//field[@name='module_account_payment']/../.." position="before">
                    <div class="col-xs-12 col-md-6 o_setting_box" title="Allow users to choose a payment journal on invoices so that invoice is automatically paid after invoice validation. A payment will be created using choosen journal">
                        <div class="o_setting_left_pane">
                            <field name="group_pay_now_customer_invoices" widget="upgrade_boolean"/>
                        </div>
                        <div class="o_setting_right_pane">
                            <label for="group_pay_now_customer_invoices"/>
                            <div class="text-muted">
                                Allow to pay customer invoices automatically on invoice validation.
                            </div>
                        </div>
                    </div>
                </xpath>
            </field>
        </record>
{'fraction_non_alphanumeric': 0.10256717850287908, 'fraction_numerical': 0.004318618042226488, 'mean_word_length': 1.3963782696177063, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 2, '>': 127, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '135257', 'n_tokens_mistral': 2074, 'n_tokens_neox': 1942, 'n_words': 489}