<?xml version="1.0"?>
<form>
                    <field name="model_id" invisible="1"/>
                    <field name="allow_payment_tolerance" invisible="1"/>
                    <field name="payment_tolerance_param" invisible="1"/>
                    <field name="rule_type" invisible="1"/>
                    <group>
                        <group>
                            <field name="account_id" options="{'no_create': True}" required="rule_type != 'invoice_matching' or (rule_type == 'invoice_matching' and allow_payment_tolerance and payment_tolerance_param != 0.0)"/>
                            <field name="amount_type"/>
                            <field name="tax_ids" domain="[('company_id', '=', company_id)]" options="{'no_create': True}" context="{'append_type_to_tax_name': True}" widget="many2many_tags"/>
                            <field name="show_force_tax_included" invisible="1"/>
                            <field name="force_tax_included" invisible="not show_force_tax_included" force_save="1"/>
                            <field name="analytic_distribution" widget="analytic_distribution" groups="analytic.group_analytic_accounting" options="{'account_field': 'account_id', 'business_domain': 'general'}"/>
                            <field name="company_id" invisible="1"/>
                        </group>
                        <group>
                            <field name="label"/>
                            <label for="amount_string"/>
                            <div>
                                <field name="amount_string" class="oe_inline"/>
                                <span class="o_form_label oe_inline" invisible="amount_type != 'percentage'">%</span>
                            </div>
                        </group>
                    </group>
                </form>
            