<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="view_change_product_quantity" model="ir.ui.view">
            <field name="name">Change Product Quantity</field>
            <field name="model">stock.change.product.qty</field>
            <field name="arch" type="xml">
                <form string="Update Product Quantity" version="7.0">
                    <group>
                        <field name="new_quantity" />
                        <field name="product_id" invisible="1"/>
                        <field name="location_id" groups="stock.group_locations"/>
                        <field name="prodlot_id" groups="stock.group_tracking_lot"/>
                    </group>
                    <footer>
                        <button name="change_product_qty" string="_Apply" type="object" class="oe_highlight"/>
                        or
                        <button string="Cancel" class="oe_link" special="cancel" />
                    </footer>
                </form>
            </field>
        </record>

        <record id="action_view_change_product_quantity" model="ir.actions.act_window">
            <field name="name">Update Product Quantity</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">stock.change.product.qty</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="view_id" ref="view_change_product_quantity"/>
            <field name="target">new</field>
        </record>

    </data>
</openerp>

<commit_msg>[IMP]stock:product has been selected by default when creating serial number from wizard<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="view_change_product_quantity" model="ir.ui.view">
            <field name="name">Change Product Quantity</field>
            <field name="model">stock.change.product.qty</field>
            <field name="arch" type="xml">
                <form string="Update Product Quantity" version="7.0">
                    <group>
                        <field name="new_quantity" />
                        <field name="product_id" invisible="1"/>
                        <field name="location_id" groups="stock.group_locations"/>
                        <field name="prodlot_id"  context="{'search_default_product_id':product_id,'default_product_id':product_id}" groups="stock.group_tracking_lot"/>
                    </group>
                    <footer>
                        <button name="change_product_qty" string="_Apply" type="object" class="oe_highlight"/>
                        or
                        <button string="Cancel" class="oe_link" special="cancel" />
                    </footer>
                </form>
            </field>
        </record>

        <record id="action_view_change_product_quantity" model="ir.actions.act_window">
            <field name="name">Update Product Quantity</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">stock.change.product.qty</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="view_id" ref="view_change_product_quantity"/>
            <field name="target">new</field>
        </record>

    </data>
</openerp>


{'fraction_non_alphanumeric': 0.13761737089201878, 'fraction_numerical': 0.0035211267605633804, 'mean_word_length': 1.9540727902946273, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 2, '>': 83, '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': '2555129', 'n_tokens_mistral': 938, 'n_tokens_neox': 888, 'n_words': 158}