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

    <record id="view_task_form2" model="ir.ui.view">
        <field name="name">project.task.form</field>
        <field name="model">project.task</field>
        <field name="inherit_id" ref="project.view_task_form2"/>
        <field name="arch" type="xml">
            <xpath expr="//header/field[@name='stage_id']" position="before">
                <field name="state" invisible="True"/>
                <button name="action_task_done" string="Task Completed" type="object" class="btn-primary" attrs="{'invisible':[('state','=', 'done')]}"/>
                <button name="action_task_undo" string="Undo Completion" type="object" attrs="{'invisible':[('state','=', 'to_do')]}"/>
            </xpath>
            <xpath expr="//notebook/page[2]/group[1]" position="after">
                <group>
                    <group>
                        <field name="budget_ratio" attrs="{'readonly':[('state','=', 'done')]}"/>
                        <field name="budget_amt" widget="monetary"/>
                        <field name="currency_id"/>
                    </group>
                </group>
            </xpath>
        </field><commit_msg>[IMP] make task form view cleaner<commit_after><?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="view_task_form2" model="ir.ui.view">
        <field name="name">project.task.form</field>
        <field name="model">project.task</field>
        <field name="inherit_id" ref="project.view_task_form2"/>
        <field name="arch" type="xml">
            <xpath expr="//header/field[@name='stage_id']" position="before">
                <field name="state" invisible="True"/>
                <button name="action_task_done" string="Task Completed" type="object" class="btn-primary" attrs="{'invisible':[('state','=','done')]}"/>
                <button name="action_task_undo" string="Undo Completion" type="object" attrs="{'invisible':[('state','=','to_do')]}"/>
            </xpath>
            <xpath expr="//notebook/page[2]/group[1]" position="after">
                <group>
                    <group>
                        <field name="budget_ratio" attrs="{'readonly':[('state','=','done')]}"/>
                        <label for="budget_amt"/>
                        <div>
                            <div class="o_row mr16">
                                <field name="budget_amt" widget="monetary"/>
                                <field name="currency_id" options="{'no_create':True,'no_open':True}"/>
                            </div>
                        </div>
                    </group>
                </group>
            </xpath>
        </field>
{'fraction_non_alphanumeric': 0.18791697553743514, 'fraction_numerical': 0.005930318754633061, 'mean_word_length': 1.9955604883462819, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 2, '>': 56, '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': '4147289', 'n_tokens_mistral': 786, 'n_tokens_neox': 762, 'n_words': 124}