~openerp-commiter/openobject-addons/trunk-extra-addons

« back to all changes in this revision

Viewing changes to mrp_prodlot_autosplit/stock_view.xml

account_indian is a branch of the trunk addons
make account_indian up to date with the trunk-extra-addons

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<openerp>
 
3
        <data>
 
4
                <record model="ir.ui.view" id="view_picking_in_form_unique_production_number">
 
5
                        <field name="name">view.picking.in.form.unique_production_number</field>
 
6
                        <field name="model">stock.picking</field>
 
7
                        <field name="inherit_id" ref="stock.view_picking_in_form" />
 
8
                        <field name="type">form</field>
 
9
                        <field name="arch" type="xml">
 
10
                                <xpath expr="/form/notebook/page/field/tree" position="replace">
 
11
                                        <tree string="Stock Moves" editable="bottom">
 
12
                                                <field name="product_id" />
 
13
                                                <field name="product_qty" />
 
14
                                                <field name="product_uom" />
 
15
                                                <field name="location_id" />
 
16
                                                <field name="location_dest_id" />
 
17
                                                <field name="new_prodlot_code" />
 
18
                                                <field context="{'location_id':location_id, 'product_id':product_id}" domain="[('product_id','=',product_id)]"
 
19
                                                        name="prodlot_id" on_change="onchange_lot_id(prodlot_id,product_qty, location_id)" />
 
20
                                                <field name="state" />
 
21
                                        </tree>
 
22
                                </xpath>
 
23
                        </field>
 
24
                </record>
 
25
 
 
26
                <!-- The following out going product editable grid can be useful, but it tends to break inheritance so we prefer disabling it -->
 
27
                <!-- record model="ir.ui.view" id="view_picking_out_form_unique_production_number">
 
28
                        <field name="name">view.picking.out.form.unique_production_number
 
29
                        </field>
 
30
                        <field name="model">stock.picking</field>
 
31
                        <field name="inherit_id" ref="stock.view_picking_out_form" />
 
32
                        <field name="type">form</field>
 
33
                        <field name="arch" type="xml">
 
34
                                <xpath expr="/form/notebook/page/field" position="inside">
 
35
                                        <tree string="Stock Moves" editable="bottom">
 
36
                                                <field name="product_id" />
 
37
                                                <field name="product_qty" />
 
38
                                                <field name="product_uom" />
 
39
                                                <field name="location_id" />
 
40
                                                <field name="location_dest_id" />
 
41
                                                <field context="{'location_id':location_id, 'product_id':product_id}" domain="[('product_id','=',product_id)]"
 
42
                                                        name="prodlot_id" on_change="onchange_lot_id(prodlot_id,product_qty, location_id)" />
 
43
                                                <field name="state" />
 
44
                                        </tree>
 
45
                                </xpath>
 
46
                        </field>
 
47
                </record -->
 
48
        </data>
 
49
</openerp>
 
 
b'\\ No newline at end of file'