<commit_before><?xml version="1.0"?>
<openerp>
    <data>

        <menuitem name="Order Management"
            id="menu_order"
            sequence="25"/>
        <menuitem id="menu_transport_plan_base" name="Transport Plan" parent="menu_order" sequence="2"/>

        <record model="ir.ui.view" id="view_transport_plan_form">
            <field name="name">transport.plan.form</field>
            <field name="model">transport.plan</field>
            <field name="arch" type="xml">
                <form string="Transport Plan" version="7.0">
                    <header>
                        <field name="state" invisible="1"/>
                    </header>
                    <sheet string="Transport Plan">
                        <div class="oe_title">
                            <h1>
                                <label string="Transport Plan" />
                                <field name="name" class="oe_inline" attrs="{'invisible': [('state', '=', 'draft')]}"/>
                            </h1>
                        </div>
                        <group>
                            <group>
                                <field name="type"/>
                                <field name="date_eta"/>
                                <field name="date_etd"/>
                                <field name="from_address_id"/>
                                <field name="to_address_id"/>
                            </group>
                            <group>
                                <field name="user_id"/>
                            </group>
                        </group>
                        <notebook>
                            <page string="Details">
                                <group>
                                    <group>
                                        <field name="transport_estimated_cost"/>
                                        <field name="po_reference"/>
                                    </group>
                                </group>
                                <div class="oe_clear">
                                    <label for="note"/>
                                </div>
                                <field name="note" colspan="4" class="oe_inline" placeholder="Additional notes..."/>
                            </page>
                        </notebook>
                    </sheet>
                </form>
            </field>
        </record>

        <record model="ir.ui.view" id="view_transport_plan_tree">
            <field name="name">transport.plan.tree</field>
            <field name="model">transport.plan</field>
            <field name="arch" type="xml">
                <tree colors="grey:state == 'done';"
                    string="Transport Plan">
                    <field name="name"/>
                    <field name="user_id"/>
                    <field name="date_eta"/>
                    <field name="date_etd"/>
                    <field name="from_address_id"/>
                    <field name="to_address_id"/>
                    <field name="state" invisible="1"/>
                </tree>
            </field>
        </record>

        <record id="view_transport_plan_filter" model="ir.ui.view">
            <field name="name">transport.plan.list.select</field>
            <field name="model">transport.plan</field>
            <field name="arch" type="xml">
                <search string="Search Transport Plan">
                    <group>
                        <field name="name"/>
                        <field name="user_id" />
                        <field name="from_address_id" />
                        <field name="to_address_id" />
                    </group>
                    <newline/>
                    <group expand="0" string="Group By...">
                        <filter string="Responsible" domain="[]" context="{'group_by':'user_id'}"/>
                        <separator/>
                        <filter string="ETD" domain="[]" context="{'group_by':'date_etd'}"/>
                    </group>
                </search>
            </field>
        </record>

        <record model="ir.actions.act_window" id="action_transport_plan">
            <field name="name">Transport Plan</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">transport.plan</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="context">{}</field>
            <field name="search_view_id" ref="view_transport_plan_filter"/>
            <field name="help"></field>
        </record>

        <menuitem
            id="menu_transport_plan"
            sequence="0"
            parent="menu_transport_plan_base"
            action="action_transport_plan"/>

    </data>
</openerp>
<commit_msg>[IMP] Change the sequence of transport order menu to allow placing something before (/home/jgrandguillaume/c2c/ProjetsEC/IFRC/Code/openerp_70_ifrc_core_dev/parts/generic-addons rev 12)<commit_after><?xml version="1.0"?>
<openerp>
    <data>

        <menuitem name="Order Management"
            id="menu_order"
            sequence="25"/>
        <menuitem id="menu_transport_plan_base" name="Transport Plan" parent="menu_order" sequence="4"/>

        <record model="ir.ui.view" id="view_transport_plan_form">
            <field name="name">transport.plan.form</field>
            <field name="model">transport.plan</field>
            <field name="arch" type="xml">
                <form string="Transport Plan" version="7.0">
                    <header>
                        <field name="state" invisible="1"/>
                    </header>
                    <sheet string="Transport Plan">
                        <div class="oe_title">
                            <h1>
                                <label string="Transport Plan" />
                                <field name="name" class="oe_inline" attrs="{'invisible': [('state', '=', 'draft')]}"/>
                            </h1>
                        </div>
                        <group>
                            <group>
                                <field name="type"/>
                                <field name="date_eta"/>
                                <field name="date_etd"/>
                                <field name="from_address_id"/>
                                <field name="to_address_id"/>
                            </group>
                            <group>
                                <field name="user_id"/>
                            </group>
                        </group>
                        <notebook>
                            <page string="Details">
                                <group>
                                    <group>
                                        <field name="transport_estimated_cost"/>
                                        <field name="po_reference"/>
                                    </group>
                                </group>
                                <div class="oe_clear">
                                    <label for="note"/>
                                </div>
                                <field name="note" colspan="4" class="oe_inline" placeholder="Additional notes..."/>
                            </page>
                        </notebook>
                    </sheet>
                </form>
            </field>
        </record>

        <record model="ir.ui.view" id="view_transport_plan_tree">
            <field name="name">transport.plan.tree</field>
            <field name="model">transport.plan</field>
            <field name="arch" type="xml">
                <tree colors="grey:state == 'done';"
                    string="Transport Plan">
                    <field name="name"/>
                    <field name="user_id"/>
                    <field name="date_eta"/>
                    <field name="date_etd"/>
                    <field name="from_address_id"/>
                    <field name="to_address_id"/>
                    <field name="state" invisible="1"/>
                </tree>
            </field>
        </record>

        <record id="view_transport_plan_filter" model="ir.ui.view">
            <field name="name">transport.plan.list.select</field>
            <field name="model">transport.plan</field>
            <field name="arch" type="xml">
                <search string="Search Transport Plan">
                    <group>
                        <field name="name"/>
                        <field name="user_id" />
                        <field name="from_address_id" />
                        <field name="to_address_id" />
                    </group>
                    <newline/>
                    <group expand="0" string="Group By...">
                        <filter string="Responsible" domain="[]" context="{'group_by':'user_id'}"/>
                        <separator/>
                        <filter string="ETD" domain="[]" context="{'group_by':'date_etd'}"/>
                    </group>
                </search>
            </field>
        </record>

        <record model="ir.actions.act_window" id="action_transport_plan">
            <field name="name">Transport Plan</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">transport.plan</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="context">{}</field>
            <field name="search_view_id" ref="view_transport_plan_filter"/>
            <field name="help"></field>
        </record>

        <menuitem
            id="menu_transport_plan"
            sequence="0"
            parent="menu_transport_plan_base"
            action="action_transport_plan"/>

    </data>
</openerp>

{'fraction_non_alphanumeric': 0.13033390497326744, 'fraction_numerical': 0.0033289619691314436, 'mean_word_length': 1.1229122055674519, 'pattern_counts': {'":': 0, '<': 225, '<?xml version=': 2, '>': 225, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4214246', 'n_tokens_mistral': 2430, 'n_tokens_neox': 2296, 'n_words': 417}