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

        <!-- SEARCH VIEW -->
        <record id="view_kinesis_athletics_test_filter" model="ir.ui.view">
            <field name="name">kinesis_athletics.test.select</field>
            <field name="model">kinesis_athletics.test</field>
            <field name="inherit_id" ref="kinesis_athletics.view_kinesis_athletics_test_filter"/>
            <field name="arch" type="xml">
                <search>
                    <group expand="1" string="Group By...">
                        <filter string="Category" icon="terp-partner" name="group_by_category" context="{'group_by':'test_category_id'}"/>
                    </group>
                </search>
            </field>
        </record>

        <!-- FORMVIEW -->
        <record id="view_kinesis_athletics_test_form" model="ir.ui.view">
            <field name="name">kinesis_athletics.test.form</field>
            <field name="model">kinesis_athletics.test</field>
            <field name="inherit_id" ref="kinesis_athletics.view_kinesis_athletics_test_form"/>
            <field name="arch" type="xml">
                <sheet position="replace">
                <sheet>
                    <field name="image" widget="image" class="oe_left oe_avatar" options="{'size': [90, 90]}"/>
                    <div class="oe_title">
                        <div class="oe_edit_only">
                            <label for="name"/>
                    </div>
                        <h1>
                            <field name="name" default_focus="1" placeholder="Name" readonly="context.get('readonly',False)"/>
                        </h1>
                        <field name="description" placeholder="Description..." readonly="context.get('readonly',False)"/>
                        <field name="test_category_id" placeholder="Categories..." readonly="context.get('readonly',False)"/>
                        <field name="uom_id" placeholder="Unit of measure..." attrs="{'invisible':[('type', '=','selection')],'required':[('type','=','value')]}" readonly="context.get('readonly',False)"/>
                        <field name="type" placeholder="Type..." readonly="context.get('readonly',False)" on_change="onchange_type(type)"/>
                    </div>
                    <group>
                        <field name="has_range" attrs="{'invisible':[('type', '=','selection')]}" readonly="context.get('readonly',False)" on_change="on_change_has_range(has_range)"/>
                        <!-- <field name="invert" attrs="{'invisible':[('type', '=','selection')]}" readonly="context.get('readonly',False)"/> -->
                        <field name="rating_below_minimum" attrs="{'invisible':[('has_range','=', False)]}" readonly="context.get('readonly',False)"/>
                        <field name="rating_between" attrs="{'invisible':[('type', '=', 'selection')]}" readonly="context.get('readonly',False)"/>
                        <field name="rating_over_maximum" attrs="{'invisible':[('has_range', '=', False)]}" readonly="context.get('readonly',False)"/>
                    </group>
                    <notebook colspan="4">
                        <page string="Test Ranges" autofocus="autofocus" attrs="{'invisible':[('type', '=', 'selection')]}">
                            <field name="test_range_ids" readonly="context.get('readonly',False)"/>
                        </page>
                        <page string="Type Selections" autofocus="autofocus" attrs="{'invisible':[('type', '!=', 'selection')]}">
                            <field name="test_selection_ids" readonly="context.get('readonly',False)"/>
                        </page>
                        <page string="Measure Description" autofocus="autofocus">
                            <field name="measure_description" readonly="context.get('readonly',False)"/>
                        </page>
                    </notebook>
                </sheet>
                </sheet>
            </field>
        </record>

     <record id="action_kinesis_athletics_test_details" model="ir.actions.act_window"><commit_msg>[FIX] rating_between invisible for tests with no range<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

        <!-- SEARCH VIEW -->
        <record id="view_kinesis_athletics_test_filter" model="ir.ui.view">
            <field name="name">kinesis_athletics.test.select</field>
            <field name="model">kinesis_athletics.test</field>
            <field name="inherit_id" ref="kinesis_athletics.view_kinesis_athletics_test_filter"/>
            <field name="arch" type="xml">
                <search>
                    <group expand="1" string="Group By...">
                        <filter string="Category" icon="terp-partner" name="group_by_category" context="{'group_by':'test_category_id'}"/>
                    </group>
                </search>
            </field>
        </record>

        <!-- FORMVIEW -->
        <record id="view_kinesis_athletics_test_form" model="ir.ui.view">
            <field name="name">kinesis_athletics.test.form</field>
            <field name="model">kinesis_athletics.test</field>
            <field name="inherit_id" ref="kinesis_athletics.view_kinesis_athletics_test_form"/>
            <field name="arch" type="xml">
                <sheet position="replace">
                <sheet>
                    <field name="image" widget="image" class="oe_left oe_avatar" options="{'size': [90, 90]}"/>
                    <div class="oe_title">
                        <div class="oe_edit_only">
                            <label for="name"/>
                    </div>
                        <h1>
                            <field name="name" default_focus="1" placeholder="Name" readonly="context.get('readonly',False)"/>
                        </h1>
                        <field name="description" placeholder="Description..." readonly="context.get('readonly',False)"/>
                        <field name="test_category_id" placeholder="Categories..." readonly="context.get('readonly',False)"/>
                        <field name="uom_id" placeholder="Unit of measure..." attrs="{'invisible':[('type', '=','selection')],'required':[('type','=','value')]}" readonly="context.get('readonly',False)"/>
                        <field name="type" placeholder="Type..." readonly="context.get('readonly',False)" on_change="onchange_type(type)"/>
                    </div>
                    <group>
                        <field name="has_range" attrs="{'invisible':[('type', '=','selection')]}" readonly="context.get('readonly',False)" on_change="on_change_has_range(has_range)"/>
                        <!-- <field name="invert" attrs="{'invisible':[('type', '=','selection')]}" readonly="context.get('readonly',False)"/> -->
                        <field name="rating_below_minimum" attrs="{'invisible':[('has_range','=', False)]}" readonly="context.get('readonly',False)"/>
                        <field name="rating_between" attrs="{'invisible':[('has_range','=', False)]}" readonly="context.get('readonly',False)"/>
                        <!--                        <field name="rating_between" attrs="{'invisible':[('type', '=', 'selection')]}" readonly="context.get('readonly',False)"/> -->
                        <field name="rating_over_maximum" attrs="{'invisible':[('has_range', '=', False)]}" readonly="context.get('readonly',False)"/>
                    </group>
                    <notebook colspan="4">
                        <page string="Test Ranges" autofocus="autofocus" attrs="{'invisible':[('type', '=', 'selection')]}">
                            <field name="test_range_ids" readonly="context.get('readonly',False)"/>
                        </page>
                        <page string="Type Selections" autofocus="autofocus" attrs="{'invisible':[('type', '!=', 'selection')]}">
                            <field name="test_selection_ids" readonly="context.get('readonly',False)"/>
                        </page>
                        <page string="Measure Description" autofocus="autofocus">
                            <field name="measure_description" readonly="context.get('readonly',False)"/>
                        </page>
                    </notebook>
                </sheet>
                </sheet>
            </field>
        </record>

     <record id="action_kinesis_athletics_test_details" model="ir.actions.act_window">
{'fraction_non_alphanumeric': 0.1755356722392277, 'fraction_numerical': 0.0028255238992229807, 'mean_word_length': 2.0981035740335523, 'pattern_counts': {'":': 0, '<': 135, '<?xml version=': 2, '>': 135, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7311214', 'n_tokens_mistral': 2355, 'n_tokens_neox': 2247, 'n_words': 333}