~pexego/openobject-addons/6.1-pexego-sale_commission

« back to all changes in this revision

Viewing changes to production_costs/product_product_view.xml

  • Committer: Omar (pexego)
  • Date: 2012-07-27 08:40:22 UTC
  • Revision ID: omar@pexego.es-20120727084022-qp3ludpr3vsuyuf6
[ADD] Traceability modules ported to 6.1

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
        <!--AÑADIMOS LOS COSTES ESTRUCTURALES Y DE MANO DE OBRA A LA VISTA FORMULARIO DE PRODUCTOS-->
 
6
        <record id="view_add_costs_product_view_form" model="ir.ui.view">
 
7
            <field name="name">view.add.costs.product.view.form</field>
 
8
            <field name="model">product.product</field>
 
9
            <field name="inherit_id" ref="stock.view_product_standard_price_form"/>
 
10
            <field name="type">form</field>
 
11
                <field name="arch" type="xml">
 
12
                    <label string="Cost Price:" position="before">
 
13
                        <group colspan="2" col="4">
 
14
                            <field name="manpower_cost"/>
 
15
                            <field name="structural_cost"/>
 
16
                            <newline/>
 
17
                        </group>
 
18
                    </label>
 
19
                </field>
 
20
        </record>
 
21
 
 
22
       <!--AÑADIMOS LOS COSTES ESTRUCTURALES Y DE MANO DE OBRA A LA VISTA FORMULARIO DE PRODUCTOS-->
 
23
        <record id="view_add_costs_product_view_list" model="ir.ui.view">
 
24
            <field name="name">view.add.costs.product.view.list</field>
 
25
            <field name="model">product.product</field>
 
26
            <field name="inherit_id" ref="product.product_product_tree_view"/>
 
27
            <field name="type">tree</field>
 
28
                <field name="arch" type="xml">
 
29
                    <field name="standard_price" position="before">
 
30
                        <field name="manpower_cost"/>
 
31
                        <field name="structural_cost"/>
 
32
                    </field>
 
33
                </field>
 
34
        </record>
 
35
 
 
36
    </data>
 
37
</openerp>