<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="view_inventory_tree" model="ir.ui.view">
            <field name="name">multi_company.default.tree</field>
            <field name="model">multi_company.default</field>
            <field name="type">tree</field>
            <field name="priority" eval="8"/>
            <field name="arch" type="xml">
                <tree string="Multi Company">
                    <field name="sequence"/>
                    <field name="name"/>
                    <field name="company_id" groups="base.group_multi_company"/>
                    <field name="company_dest_id"/>
                    <field name="object_id"/>
                    <field name="expression" />
                </tree>
            </field>
        </record>
        <record id="view_inventory_form" model="ir.ui.view">
            <field name="name">multi_company.default.form</field>
            <field name="model">multi_company.default</field>
            <field name="type">form</field>
            <field name="priority" eval="8"/>
            <field name="arch" type="xml">
                <form string="Multi Company">
                    <field name="sequence"/>
                    <field name="name"/>
                    <field name="company_id" groups="base.group_multi_company"/>
                    <field name="company_dest_id"/>
                    <field name="object_id"/>
                    <field name="expression" />
                </form>
            </field>
        </record>

        <record id="action_inventory_form" model="ir.actions.act_window">
            <field name="name">Multi Company</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">multi_company.default</field>
            <field name="view_type">form</field>
        </record>

        <menuitem id="menu_action_inventory_form" 
            action="action_inventory_form"
            parent="base.menu_action_res_company_tree"/>

    </data>
</openerp><commit_msg>[ADD] Add search view on multi_company default<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="view_inventory_tree" model="ir.ui.view">
            <field name="name">multi_company.default.tree</field>
            <field name="model">multi_company.default</field>
            <field name="type">tree</field>
            <field name="priority" eval="8"/>
            <field name="arch" type="xml">
                <tree string="Multi Company">
                    <field name="sequence"/>
                    <field name="name"/>
                    <field name="company_id" groups="base.group_multi_company"/>
                    <field name="company_dest_id"/>
                    <field name="object_id"/>
                    <field name="expression" />
                </tree>
            </field>
        </record>
        <record id="view_inventory_form" model="ir.ui.view">
            <field name="name">multi_company.default.form</field>
            <field name="model">multi_company.default</field>
            <field name="type">form</field>
            <field name="priority" eval="8"/>
            <field name="arch" type="xml">
                <form string="Multi Company">
                    <field name="sequence"/>
                    <field name="name"/>
                    <field name="company_id" groups="base.group_multi_company"/>
                    <field name="company_dest_id"/>
                    <field name="object_id"/>
                    <field name="expression" />
                </form>
            </field>
        </record>

        <record id="view_inventory_search" model="ir.ui.view">
            <field name="name">multi_company.default.search</field>
            <field name="model">multi_company.default</field>
            <field name="type">search</field>
            <field name="priority" eval="8"/>
            <field name="arch" type="xml">
                <search string="Multi Company">
                    <field name="name" select="1"/>
                    <field name="company_id" select="1" widget="selection"/>
                    <field name="company_dest_id" select="1" widget="selection"/>
                    <field name="object_id" select="1"/>
                </search>
            </field>
        </record>

        <record id="action_inventory_form" model="ir.actions.act_window">
            <field name="name">Multi Company</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">multi_company.default</field>
            <field name="view_type">form</field>
            <field name="search_view_id" ref="view_inventory_search"/>
        </record>

        <menuitem id="menu_action_inventory_form" 
            action="action_inventory_form"
            parent="base.menu_action_res_company_tree"/>

    </data>
</openerp>
{'fraction_non_alphanumeric': 0.14622831787010893, 'fraction_numerical': 0.0030254134731746672, 'mean_word_length': 1.8418338108882522, 'pattern_counts': {'":': 0, '<': 129, '<?xml version=': 2, '>': 129, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 7}, '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': '4430047', 'n_tokens_mistral': 1341, 'n_tokens_neox': 1294, 'n_words': 227}