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

« back to all changes in this revision

Viewing changes to sale_margin_delivery/sale_margin_delivery_view.xml

 new modules for EO2 :
* sale_delivery : Deliveries Planning at Sale Order Level
* sale_margin : Better margin control
* sale_margin_delivery : margin control on delivery planing
* Stock Planning: compute procurement based on sales previsions 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<openerp>
 
3
<data>
 
4
 
 
5
        <record id="view_sale_delivery_form1" model="ir.ui.view">
 
6
            <field name="name">sale.delivery.form.inherit1</field>
 
7
            <field name="model">sale.order</field>
 
8
            <field name="type">form</field>
 
9
            <field name="inherit_id" ref="sale.view_order_form"/>
 
10
            <field name="arch" type="xml">
 
11
                    <page string="Deliveries" position="replace">
 
12
                        <page string="Deliveries">
 
13
                      <field colspan="4" mode="tree,from" name="delivery_line" nolabel="1" widget="one2many_list" editable="bottom">
 
14
                                <form string="Delivery Lines">
 
15
                                        <field name="product_id"
 
16
                                        on_change="product_id_change(product_id,product_qty,product_uom,packaging_id)" 
 
17
                                        />
 
18
                                                                        <field name="product_qty"
 
19
                                                                        on_change="product_id_change(product_id,product_qty,product_uom,packaging_id)" 
 
20
                                                                        />
 
21
                                                                        <field name="product_uom"
 
22
                                                                        on_change="product_id_change(product_id,product_qty,product_uom,packaging_id)" 
 
23
                                                                        />
 
24
                                                                        <field name="packaging_id"
 
25
                                                                        on_change="product_id_change(product_id,product_qty,product_uom,packaging_id)" 
 
26
                                                                        />
 
27
                                                                        <field name="date_planned"/>
 
28
                                                                        <field name="priority"/>
 
29
                                                                        <field name="margin"/>
 
30
                                                                        <separator colspan="4" string="Notes"/>
 
31
                                                                        <field name="note" colspan="4" nolabel="1"/>
 
32
                                </form>
 
33
                                <tree string="Delivery Lines">
 
34
                                        <field name="product_id"/>
 
35
                                                                        <field name="product_qty"/>
 
36
                                                                        <field name="product_uom"/>
 
37
                                                                        <field name="packaging_id"/>
 
38
                                                                        <field name="date_planned"/>
 
39
                                                                        <field name="priority"/>
 
40
                                                                        <field name="margin"/>
 
41
                                                                        <field name="note"/>
 
42
                                </tree> 
 
43
                            </field>
 
44
                      </page>      
 
45
                </page>
 
46
            </field>
 
47
        </record>
 
48
        
 
49
</data>
 
50
</openerp>