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

        <record id="view_business_requirement_form" model="ir.ui.view">
            <field name="name">business.requirement.form</field>
            <field name="model">business.requirement</field>
            <field name="inherit_id" ref="business_requirement.view_business_requirement_form"/>
            <field name="arch" type="xml">
                <xpath expr='//page[@string="Business Requirement"]' position='after'>
                    <page string="Deliverable Lines">
                        <field name="deliverable_lines" domain="[('business_requirement_line_id', '='. False)]" context="{'tree_view_ref':'business_requirement_deliverable.view_business_requirement_deliverable_tree', 'form_view_ref': 'business_requirement_deliverable.view_business_requirement_deliverable_form',}"/>
                    </page>
                </xpath>
            </field>
        </record>

        <record id="view_business_requirement_tree" model="ir.ui.view">
            <field name="name">business.requirement.tree</field>
            <field name="model">business.requirement</field>
            <field name="inherit_id" ref="business_requirement.view_business_requirement_tree"/>
            <field name="arch" type="xml">
                <xpath expr='//field[@name="change_request"]' position='after'>
                    <field name="total_revenue"/>
                </xpath>
            </field>
        </record>

        <record id="view_business_requirement_deliverable_tree" model="ir.ui.view">
            <field name="name">business.requirement.deliverable.tree</field>
            <field name="model">business.requirement.deliverable</field>
            <field name="arch" type="xml">
                <tree string="Business Requirement Deliverable" default_order="sequence">
                    <field name="currency_id" invisible="1"/>
                    <field name="sequence" widget="handle"/>
                    <field name="name"/>
                    <field name="product_id"/>
                    <field name="uom_id"/>
                    <field name="qty"/>
                    <field name="unit_price"/>
                    <field name="price_total" sum="Total price"/>
                </tree>
            </field>
        </record>

        <record id="view_business_requirement_resource_tree" model="ir.ui.view">
            <field name="name">business.requirement.resource.tree</field>
            <field name="model">business.requirement.resource</field>
            <field name="arch" type="xml">
                <tree string="Business Requirement Resource" editable="bottom" default_order="sequence">
                    <field name="sequence" widget="handle"/>
                    <field name="resource_type"/>
                    <field name="product_id"/>
                    <field name="name"/>
                    <field name="user_id" attrs="{'readonly':[('resource_type','=','procurement')]}"/>
                    <field name="qty"/>
                    <field name="uom_id"/>
                </tree>
            </field>
        </record>

        <record id="view_business_requirement_deliverable_form" model="ir.ui.view">
            <field name="name">business.requirement.deliverable.form</field>
            <field name="model">business.requirement.deliverable</field>
            <field name="type">form</field>
            <field name="priority">20</field>
            <field name="arch" type="xml">
                <form string="Business Requirement Task Type">
                    <group>
                        <group>
                            <field name="currency_id" invisible="1"/>
                            <field name="product_id"/>
                            <label for="qty"/>
                            <div>
                                <field name="qty"/>
                                <field name="uom_id" class="oe_inline"/>
                            </div>
                            <field name="unit_price"/>
                            <field name="price_total" widget="monetary" options="{'currency_field': 'currency_id'}"/>
                        </group>
<!--                         <group>
                            <field name="tax_ids" widget="many2many_tags"/>
                        </group>
 -->                    </group>
                    <label for="name"/>
                    <field name="name"/>
                    <group string="Resource Lines">
                        <field name="resource_ids" context="{'tree_view_ref':'view_business_requirement_resource_tree'}" nolabel="1"/>
                    </group>
                </form>
            </field>
        </record>

    </data>
</openerp><commit_msg>[FIX] business_requirement_deliverable: Remove dead code from views. 	modified:   business_requirement_deliverable/views/business_view.xml<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

        <record id="view_business_requirement_form" model="ir.ui.view">
            <field name="name">business.requirement.form</field>
            <field name="model">business.requirement</field>
            <field name="inherit_id" ref="business_requirement.view_business_requirement_form"/>
            <field name="arch" type="xml">
                <xpath expr='//page[@string="Business Requirement"]' position='after'>
                    <page string="Deliverable Lines">
                        <field name="deliverable_lines" domain="[('business_requirement_line_id', '='. False)]" context="{'tree_view_ref':'business_requirement_deliverable.view_business_requirement_deliverable_tree', 'form_view_ref': 'business_requirement_deliverable.view_business_requirement_deliverable_form',}"/>
                    </page>
                </xpath>
            </field>
        </record>

        <record id="view_business_requirement_tree" model="ir.ui.view">
            <field name="name">business.requirement.tree</field>
            <field name="model">business.requirement</field>
            <field name="inherit_id" ref="business_requirement.view_business_requirement_tree"/>
            <field name="arch" type="xml">
                <xpath expr='//field[@name="change_request"]' position='after'>
                    <field name="total_revenue"/>
                </xpath>
            </field>
        </record>

        <record id="view_business_requirement_deliverable_tree" model="ir.ui.view">
            <field name="name">business.requirement.deliverable.tree</field>
            <field name="model">business.requirement.deliverable</field>
            <field name="arch" type="xml">
                <tree string="Business Requirement Deliverable" default_order="sequence">
                    <field name="currency_id" invisible="1"/>
                    <field name="sequence" widget="handle"/>
                    <field name="name"/>
                    <field name="product_id"/>
                    <field name="uom_id"/>
                    <field name="qty"/>
                    <field name="unit_price"/>
                    <field name="price_total" sum="Total price"/>
                </tree>
            </field>
        </record>

        <record id="view_business_requirement_resource_tree" model="ir.ui.view">
            <field name="name">business.requirement.resource.tree</field>
            <field name="model">business.requirement.resource</field>
            <field name="arch" type="xml">
                <tree string="Business Requirement Resource" editable="bottom" default_order="sequence">
                    <field name="sequence" widget="handle"/>
                    <field name="resource_type"/>
                    <field name="product_id"/>
                    <field name="name"/>
                    <field name="user_id" attrs="{'readonly':[('resource_type','=','procurement')]}"/>
                    <field name="qty"/>
                    <field name="uom_id"/>
                </tree>
            </field>
        </record>

        <record id="view_business_requirement_deliverable_form" model="ir.ui.view">
            <field name="name">business.requirement.deliverable.form</field>
            <field name="model">business.requirement.deliverable</field>
            <field name="type">form</field>
            <field name="priority">20</field>
            <field name="arch" type="xml">
                <form string="Business Requirement Task Type">
                    <group>
                        <group>
                            <field name="currency_id" invisible="1"/>
                            <field name="product_id"/>
                            <label for="qty"/>
                            <div>
                                <field name="qty"/>
                                <field name="uom_id" class="oe_inline"/>
                            </div>
                            <field name="unit_price"/>
                            <field name="price_total" widget="monetary" options="{'currency_field': 'currency_id'}"/>
                        </group>
                    </group>
                    <label for="name"/>
                    <field name="name"/>
                    <group string="Resource Lines">
                        <field name="resource_ids" context="{'tree_view_ref':'view_business_requirement_resource_tree'}" nolabel="1"/>
                    </group>
                </form>
            </field>
        </record>

    </data>
</openerp>
{'fraction_non_alphanumeric': 0.1377182892397783, 'fraction_numerical': 0.0017776848269371536, 'mean_word_length': 1.7697654213727194, 'pattern_counts': {'":': 0, '<': 203, '<?xml version=': 2, '>': 203, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 13}, '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': '2138755', 'n_tokens_mistral': 2501, 'n_tokens_neox': 2387, 'n_words': 394}