<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data noupdate="0">
        <record id="view_stock_deposit_form" model="ir.ui.view">
            <field name="name">stock.deposit.form</field>
            <field name="model">stock.deposit</field>
            <field name="arch" type="xml">
                <form string="Deposits" version="7.0">
                    <header>
                        <button name="return_deposit" type="object"
                            string="Return"
                            class="oe_highlight"
                            states="draft"/>
                        <button name="sale" type="object"
                            string="Sale"
                            class="oe_highlight"
                            states="draft"/>
                        <button name="%(stock_deposit.stock_invoice_deposit_action)d" type="action"
                            string="Invoice"
                            class="oe_highlight"
                            states="sale"/>

                        <field name="state" widget="statusbar"
                        />
                    </header>
                    <sheet>
                        <group>
                            <group name="main_grp" string="Details">
                                <field name="partner_id"/>
                                <field name="product_id"/>
                                <label for="product_uom_qty" />
                                <div>
                                    <field name="product_uom_qty"
                                        class="oe_inline"/>
                                    <field name="product_uom"
                                        class="oe_inline"/>
                                </div>
                                <group name="moves_grp" string="Moves">
                                    <field name="picking_id" />
                                    <field name="sale_id" />
                                    <field name="invoice_id" />
                                    <field name="move_id" />
                                    <field name="sale_move_id" />
                                    <field name="return_picking_id" />
                                 </group>
                                <group name="dates_grp" string="Dates">
                                    <field name="delivery_date" />
                                    <field name="return_date" />
                                </group>
                                <field name="user_id"/>
                                <field name="company_id"
                                    groups="base.group_multi_company"
                                    widget="selection"/>

                            </group>

                        </group>
                    </sheet>
                    <div class="oe_chatter">
                        <field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/>
                        <field name="message_ids" widget="mail_thread"/>
                </div>
                </form>
            </field>
        </record>

        <record id="view_stock_deposit_tree" model="ir.ui.view">
            <field name="name">stock.deposit.tree</field>
            <field name="model">stock.deposit</field>
            <field name="arch" type="xml">
                <tree string="Deposits" version="7.0" >
                    <field name="product_id" />
                    <field name="partner_id" />
                    <field name="picking_id" />
                    <field name="sale_id" />
                    <field name="invoice_id" />
                    <field name="user_id"/>
                    <field name="product_uom_qty" sum="Total" />
                    <field name="product_uom" />
                    <field name="delivery_date" />
                    <field name="return_date" />
                    <field name="state" />
                </tree>
            </field>
        </record>

        <record id="view_stock_deposit_search" model="ir.ui.view">
            <field name="name">stock.deposit.search</field><commit_msg>[REF] stock_deposit: Impedimos que se puedan crear manualmente<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data noupdate="0">
        <record id="view_stock_deposit_form" model="ir.ui.view">
            <field name="name">stock.deposit.form</field>
            <field name="model">stock.deposit</field>
            <field name="arch" type="xml">
                <form string="Deposits" version="7.0">
                    <header>
                        <button name="return_deposit" type="object"
                            string="Return"
                            class="oe_highlight"
                            states="draft"/>
                        <button name="sale" type="object"
                            string="Sale"
                            class="oe_highlight"
                            states="draft"/>
                        <button name="%(stock_deposit.stock_invoice_deposit_action)d" type="action"
                            string="Invoice"
                            class="oe_highlight"
                            states="sale"/>

                        <field name="state" widget="statusbar"
                        />
                    </header>
                    <sheet>
                        <group>
                            <group name="main_grp" string="Details">
                                <field name="partner_id"/>
                                <field name="product_id"/>
                                <label for="product_uom_qty" />
                                <div>
                                    <field name="product_uom_qty"
                                        class="oe_inline"/>
                                    <field name="product_uom"
                                        class="oe_inline"/>
                                </div>
                                <group name="moves_grp" string="Moves">
                                    <field name="picking_id" />
                                    <field name="sale_id" />
                                    <field name="invoice_id" />
                                    <field name="move_id" />
                                    <field name="sale_move_id" />
                                    <field name="return_picking_id" />
                                 </group>
                                <group name="dates_grp" string="Dates">
                                    <field name="delivery_date" />
                                    <field name="return_date" />
                                </group>
                                <field name="user_id"/>
                                <field name="company_id"
                                    groups="base.group_multi_company"
                                    widget="selection"/>

                            </group>

                        </group>
                    </sheet>
                    <div class="oe_chatter">
                        <field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/>
                        <field name="message_ids" widget="mail_thread"/>
                </div>
                </form>
            </field>
        </record>

        <record id="view_stock_deposit_tree" model="ir.ui.view">
            <field name="name">stock.deposit.tree</field>
            <field name="model">stock.deposit</field>
            <field name="arch" type="xml">
                <tree string="Deposits" create="0" >
                    <field name="product_id" />
                    <field name="partner_id" />
                    <field name="picking_id" />
                    <field name="sale_id" />
                    <field name="invoice_id" />
                    <field name="user_id"/>
                    <field name="product_uom_qty" sum="Total" />
                    <field name="product_uom" />
                    <field name="delivery_date" />
                    <field name="return_date" />
                    <field name="state" />
                </tree>
            </field>
        </record>

        <record id="view_stock_deposit_search" model="ir.ui.view">
            <field name="name">stock.deposit.search</field>
{'fraction_non_alphanumeric': 0.11234626300851466, 'fraction_numerical': 0.001773888363292337, 'mean_word_length': 0.9286202964652224, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 2, '>': 151, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 30, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '245387', 'n_tokens_mistral': 2057, 'n_tokens_neox': 1904, 'n_words': 308}