<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <!-- Delivery Carriers -->
        <menuitem id="menu_delivery" name="Delivery" parent="stock.menu_stock_configuration" sequence="4"/>

        <record id="view_delivery_carrier_tree" model="ir.ui.view">
            <field name="name">delivery.carrier.tree</field>
            <field name="model">delivery.carrier</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Carrier">
                    <field name="name"/>
                    <field name="partner_id"/>
                    <field name="price" invisible="'order_id' not in context"/>
                </tree>
            </field>
        </record>
        <record id="view_delivery_carrier_form" model="ir.ui.view">
            <field name="name">delivery.carrier.form</field>
            <field name="model">delivery.carrier</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Carrier">
                    <group colspan="4" col="4" name="general">
                        <field name="name" select="1"/>
                        <field name="active" select="1"/>
                        <field name="partner_id" select="1"/>
                        <field name="product_id" select="1"/>
                        <separator string="Pricing Information" colspan="6"/>
                        <group colspan="2" col="4">
                            <field name="normal_price" select="1" colspan="4"/>
                            <newline/>
                            <field name="free_if_more_than"/>
                            <field name="amount" attrs="{'invisible':[('free_if_more_than','=',False)]}"/>
                        </group>
                        <newline/>
                        <field name="use_detailed_pricelist" />
                    </group>
                        <field name="pricelist_ids" nolabel="1" attrs="{'invisible':[('use_detailed_pricelist','=',False)]}" mode="tree,form">
                         <tree string="Delivery grids">
                              <field name="sequence"/>
                              <field name="carrier_id"/>
                              <field name="name"/>
                         </tree>
                        <form string="Delivery grids">
                             <field name="name" select="1"/>
                             <field name="active" select="1"/>
                             <field name="sequence" groups="base.group_extended" select="1"/>
                             <notebook colspan="4">
                               <page string="Grid definition">
                                  <field colspan="4" name="line_ids" nolabel="1" select="1"/>
                               </page>
                               <page string="Destination">
                                   <separator colspan="4" string="Countries"/>
                                   <field colspan="4" name="country_ids" nolabel="1"/>
                                   <separator colspan="4" string="States"/>
                                   <field colspan="4" name="state_ids" nolabel="1"/>
                                   <field name="zip_from"/>
                                   <field name="zip_to"/>
                               </page>
                             </notebook>
                       </form>
                   </field>
                </form>
            </field>
        </record>
        <record id="action_delivery_carrier_form" model="ir.actions.act_window">
            <field name="name">Delivery Method</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">delivery.carrier</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="help">Create and manage the delivery methods you need for your sales activities. Each delivery method can be assigned to a price list which computes the price of the delivery according to the products sold or delivered.</field>
        </record>

        <record id="action_delivery_carrier_form1" model="ir.actions.act_window">
            <field name="name">Delivery Method</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">delivery.carrier</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
        </record>

        <menuitem action="action_delivery_carrier_form" id="menu_action_delivery_carrier_form" parent="menu_delivery" groups="base.group_extended"/>
<commit_msg>[IMP] delivery: display tooltip when opening develery method from config wizard + improved tooltip<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <!-- Delivery Carriers -->
        <menuitem id="menu_delivery" name="Delivery" parent="stock.menu_stock_configuration" sequence="4"/>

        <record id="view_delivery_carrier_tree" model="ir.ui.view">
            <field name="name">delivery.carrier.tree</field>
            <field name="model">delivery.carrier</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Carrier">
                    <field name="name"/>
                    <field name="partner_id"/>
                    <field name="price" invisible="'order_id' not in context"/>
                </tree>
            </field>
        </record>
        <record id="view_delivery_carrier_form" model="ir.ui.view">
            <field name="name">delivery.carrier.form</field>
            <field name="model">delivery.carrier</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Carrier">
                    <group colspan="4" col="4" name="general">
                        <field name="name" select="1"/>
                        <field name="active" select="1"/>
                        <field name="partner_id" select="1"/>
                        <field name="product_id" select="1"/>
                        <separator string="Pricing Information" colspan="6"/>
                        <group colspan="2" col="4">
                            <field name="normal_price" select="1" colspan="4"/>
                            <newline/>
                            <field name="free_if_more_than"/>
                            <field name="amount" attrs="{'invisible':[('free_if_more_than','=',False)]}"/>
                        </group>
                        <newline/>
                        <field name="use_detailed_pricelist" />
                    </group>
                        <field name="pricelist_ids" nolabel="1" attrs="{'invisible':[('use_detailed_pricelist','=',False)]}" mode="tree,form">
                         <tree string="Delivery grids">
                              <field name="sequence"/>
                              <field name="carrier_id"/>
                              <field name="name"/>
                         </tree>
                        <form string="Delivery grids">
                             <field name="name" select="1"/>
                             <field name="active" select="1"/>
                             <field name="sequence" groups="base.group_extended" select="1"/>
                             <notebook colspan="4">
                               <page string="Grid definition">
                                  <field colspan="4" name="line_ids" nolabel="1" select="1"/>
                               </page>
                               <page string="Destination">
                                   <separator colspan="4" string="Countries"/>
                                   <field colspan="4" name="country_ids" nolabel="1"/>
                                   <separator colspan="4" string="States"/>
                                   <field colspan="4" name="state_ids" nolabel="1"/>
                                   <field name="zip_from"/>
                                   <field name="zip_to"/>
                               </page>
                             </notebook>
                       </form>
                   </field>
                </form>
            </field>
        </record>
        <record id="action_delivery_carrier_form" model="ir.actions.act_window">
            <field name="name">Delivery Method</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">delivery.carrier</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="help">Define the delivery methods you are using and their pricing in order to reinvoice the delivery costs when you are doing invoicing based on delivery orders</field>
        </record>

        <record id="action_delivery_carrier_form1" model="ir.actions.act_window">
            <field name="name">Delivery Method</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">delivery.carrier</field>
            <field name="view_type">form</field>
            <field name="view_mode">form,tree</field>
            <field name="help">Define the delivery methods you are using and their pricing in order to reinvoice the delivery costs when you are doing invoicing based on delivery orders</field>
        </record>

        <menuitem action="action_delivery_carrier_form" id="menu_action_delivery_carrier_form" parent="menu_delivery" groups="base.group_extended"/>

{'fraction_non_alphanumeric': 0.13259952679765455, 'fraction_numerical': 0.006172204505709289, 'mean_word_length': 1.521265560165975, 'pattern_counts': {'":': 0, '<': 203, '<?xml version=': 2, '>': 203, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5810343', 'n_tokens_mistral': 2487, 'n_tokens_neox': 2345, 'n_words': 487}