~vauxoo/addons-vauxoo/7.0-project_issue_conf-dev_luis

« back to all changes in this revision

Viewing changes to report_profit/report_profit_var_view.xml

  • Committer: Javier Duran
  • Date: 2012-01-30 16:55:47 UTC
  • Revision ID: javier@squezee-vir-20120130165547-8bn2rxdgxzplqpfy
[ADD] se agrega el modulo report profit

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
        <!--  Profit by products User and Partner-->
 
6
 
 
7
        <record id="view_profit_uxp_product_tree" model="ir.ui.view">
 
8
            <field name="name">report.profit.uxp.product.tree</field>
 
9
            <field name="model">report.profit.uxp</field>
 
10
            <field name="type">tree</field>
 
11
            <field name="arch" type="xml">
 
12
                <tree string="Profit by Product User and Partner">
 
13
                    <field name="user_id"/>
 
14
                    <field name="partner_id"/>
 
15
                    <field name="sum_last_cost"/>
 
16
                    <field name="sum_price_subtotal"/>
 
17
                    <field name="sum_qty_consol"/>
 
18
                    <field name="p_uom_c_id"/>
 
19
                </tree>
 
20
            </field>
 
21
        </record>
 
22
 
 
23
        
 
24
 
 
25
        <record id="view_profit_uxp_product_form" model="ir.ui.view">
 
26
            <field name="name">report.profit.uxp.product.form</field>
 
27
            <field name="model">report.profit.uxp</field>
 
28
            <field name="type">form</field>
 
29
            <field name="arch" type="xml">
 
30
                <form string="Profit by Product User and Partner">
 
31
                    <field name="user_id"/>
 
32
                    <field name="partner_id"/>
 
33
                    <field name="sum_last_cost"/>
 
34
                    <field name="sum_price_subtotal"/>
 
35
                    <field name="sum_qty_consol"/>
 
36
                    <field name="p_uom_c_id"/>
 
37
                </form>
 
38
            </field>
 
39
        </record>
 
40
        
 
41
 
 
42
 
 
43
        <record id="action_profit_uxp_product_tree" model="ir.actions.act_window">
 
44
            <field name="name">Profit by Product User and Partner</field>
 
45
            <field name="res_model">report.profit.uxp</field>
 
46
            <field name="view_type">form</field>
 
47
            <field name="view_mode">tree,form</field>
 
48
        </record>
 
49
 
 
50
 
 
51
 
 
52
        <!--  Profit by products User and Category-->
 
53
 
 
54
        <record id="view_profit_uxc_product_tree" model="ir.ui.view">
 
55
            <field name="name">report.profit.uxc.product.tree</field>
 
56
            <field name="model">report.profit.uxc</field>
 
57
            <field name="type">tree</field>
 
58
            <field name="arch" type="xml">
 
59
                <tree string="Profit by Product User and Category">
 
60
                    <field name="user_id"/>
 
61
                    <field name="cat_id"/>
 
62
                    <field name="sum_last_cost"/>
 
63
                    <field name="sum_price_subtotal"/>
 
64
                    <field name="sum_qty_consol"/>
 
65
                    <field name="p_uom_c_id"/>
 
66
                </tree>
 
67
            </field>
 
68
        </record>
 
69
 
 
70
        
 
71
 
 
72
        <record id="view_profit_uxc_product_form" model="ir.ui.view">
 
73
            <field name="name">report.profit.uxc.product.form</field>
 
74
            <field name="model">report.profit.uxc</field>
 
75
            <field name="type">form</field>
 
76
            <field name="arch" type="xml">
 
77
                <form string="Profit by Product User and Category">
 
78
                    <field name="user_id"/>
 
79
                    <field name="cat_id"/>
 
80
                    <field name="sum_last_cost"/>
 
81
                    <field name="sum_price_subtotal"/>
 
82
                    <field name="sum_qty_consol"/>
 
83
                    <field name="p_uom_c_id"/>
 
84
                </form>
 
85
            </field>
 
86
        </record>
 
87
        
 
88
 
 
89
 
 
90
        <record id="action_profit_uxc_product_tree" model="ir.actions.act_window">
 
91
            <field name="name">Profit by Product User and Category</field>
 
92
            <field name="res_model">report.profit.uxc</field>
 
93
            <field name="view_type">form</field>
 
94
            <field name="view_mode">tree,form</field>
 
95
        </record>
 
96
 
 
97
 
 
98
 
 
99
        <!--  Profit by products Partner and Category-->
 
100
 
 
101
        <record id="view_profit_pxc_product_tree" model="ir.ui.view">
 
102
            <field name="name">report.profit.pxc.product.tree</field>
 
103
            <field name="model">report.profit.pxc</field>
 
104
            <field name="type">tree</field>
 
105
            <field name="arch" type="xml">
 
106
                <tree string="Profit by Product Partner and Category">
 
107
                    <field name="partner_id"/>
 
108
                    <field name="cat_id"/>
 
109
                    <field name="sum_last_cost"/>
 
110
                    <field name="sum_price_subtotal"/>
 
111
                    <field name="sum_qty_consol"/>
 
112
                    <field name="p_uom_c_id"/>
 
113
                </tree>
 
114
            </field>
 
115
        </record>
 
116
 
 
117
        
 
118
 
 
119
        <record id="view_profit_pxc_product_form" model="ir.ui.view">
 
120
            <field name="name">report.profit.pxc.product.form</field>
 
121
            <field name="model">report.profit.pxc</field>
 
122
            <field name="type">form</field>
 
123
            <field name="arch" type="xml">
 
124
                <form string="Profit by Product Partner and Category">
 
125
                    <field name="partner_id"/>
 
126
                    <field name="cat_id"/>
 
127
                    <field name="sum_last_cost"/>
 
128
                    <field name="sum_price_subtotal"/>
 
129
                    <field name="sum_qty_consol"/>
 
130
                    <field name="p_uom_c_id"/>
 
131
                </form>
 
132
            </field>
 
133
        </record>
 
134
        
 
135
 
 
136
 
 
137
        <record id="action_profit_pxc_product_tree" model="ir.actions.act_window">
 
138
            <field name="name">Profit by Product Partner and Category</field>
 
139
            <field name="res_model">report.profit.pxc</field>
 
140
            <field name="view_type">form</field>
 
141
            <field name="view_mode">tree,form</field>
 
142
        </record>
 
143
 
 
144
 
 
145
 
 
146
        <!--  Profit by products User Partner and Category-->
 
147
 
 
148
        <record id="view_profit_upc_product_tree" model="ir.ui.view">
 
149
            <field name="name">report.profit.upc.product.tree</field>
 
150
            <field name="model">report.profit.upc</field>
 
151
            <field name="type">tree</field>
 
152
            <field name="arch" type="xml">
 
153
                <tree string="Profit by Product User Partner and Category">
 
154
                    <field name="user_id"/>
 
155
                    <field name="partner_id"/>
 
156
                    <field name="cat_id"/>
 
157
                    <field name="sum_last_cost"/>
 
158
                    <field name="sum_price_subtotal"/>
 
159
                    <field name="sum_qty_consol"/>
 
160
                    <field name="p_uom_c_id"/>
 
161
                </tree>
 
162
            </field>
 
163
        </record>
 
164
 
 
165
        
 
166
 
 
167
        <record id="view_profit_upc_product_form" model="ir.ui.view">
 
168
            <field name="name">report.profit.upc.product.form</field>
 
169
            <field name="model">report.profit.upc</field>
 
170
            <field name="type">form</field>
 
171
            <field name="arch" type="xml">
 
172
                <form string="Profit by Product User Partner and Category">
 
173
                    <field name="user_id"/>
 
174
                    <field name="partner_id"/>
 
175
                    <field name="cat_id"/>
 
176
                    <field name="sum_last_cost"/>
 
177
                    <field name="sum_price_subtotal"/>
 
178
                    <field name="sum_qty_consol"/>
 
179
                    <field name="p_uom_c_id"/>
 
180
                </form>
 
181
            </field>
 
182
        </record>
 
183
        
 
184
 
 
185
 
 
186
        <record id="action_profit_upc_product_tree" model="ir.actions.act_window">
 
187
            <field name="name">Profit by Product User Partner and Category</field>
 
188
            <field name="res_model">report.profit.upc</field>
 
189
            <field name="view_type">form</field>
 
190
            <field name="view_mode">tree,form</field>
 
191
        </record>
 
192
 
 
193
 
 
194
    </data>
 
195
</openerp>