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

« back to all changes in this revision

Viewing changes to production_costs/wizard/product_percent_struct_costs_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
 
 
6
        <!--TREE VIEW OF PRODUCTS-STRUCT COSTS AUXILIARY OSV MEMORY OBJECT-->
 
7
        <record id="product_percent_struct_costs_view" model="ir.ui.view">
 
8
            <field name="name">product.percent.struct.costs.view</field>
 
9
            <field name="model">product.percent.struct.costs</field>
 
10
            <field name="type">tree</field>
 
11
            <field name="arch" type="xml">
 
12
                <tree string="Products Structural Costs Impact" editable="top">
 
13
                    <field name="product_id" on_change="onchange_product_id(parent.prev_fyear_id, parent.prev_period_id, product_id)"/>
 
14
                    <field name="total_sales" on_change ="onchange_total_sales(total_sales)"/>
 
15
                    <field name="forecasted_sales"/>
 
16
                </tree>
 
17
            </field>
 
18
        </record>
 
19
 
 
20
        <!--FORM VIEW OF PRODUCTS-STRUCT COSTS AUXILIARY OSV MEMORY OBJECT-->
 
21
        <record id="product_percent_struct_costs_form_view" model="ir.ui.view">
 
22
            <field name="name">product.percent.struct.costs.form.view</field>
 
23
            <field name="model">product.percent.struct.costs</field>
 
24
            <field name="type">form</field>
 
25
            <field name="arch" type="xml">
 
26
                <form string="Product Structural Costs Impact">
 
27
                    <group colspan="4">
 
28
                        <field name="product_id" on_change="onchange_product_id(parent.prev_fyear_id, parent.prev_period_id, product_id)"/>
 
29
                        <field name="total_sales" on_change ="onchange_total_sales(total_sales)"/>
 
30
                        <field name="forecasted_sales"/>
 
31
                    </group>
 
32
                </form>
 
33
            </field>
 
34
        </record>
 
35
 
 
36
        <record id="action_product_percent_struct_costs_tree" model="ir.actions.act_window">
 
37
            <field name="name">Products Structural Costs Impact</field>
 
38
            <field name="res_model">product.percent.struct.costs</field>
 
39
            <field name="view_type">form</field>
 
40
            <field name="view_mode">form</field>
 
41
            <field name="view_id" ref="product_percent_struct_costs_form_view"/>
 
42
        </record>
 
43
 
 
44
    </data>
 
45
</openerp>
 
 
b'\\ No newline at end of file'