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

« back to all changes in this revision

Viewing changes to stock_kardex/kardex.xml

 
[MERGE] Merge to add all changes in trunk series

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="utf-8"?>
 
1
<?xml version='1.0' encoding='UTF-8'?>
2
2
<openerp>
3
3
    <data>
4
4
 
5
5
       <record id="product_search_form_view_inh" model="ir.ui.view">
6
6
            <field name="name">product.search.form.inh</field>
7
7
            <field name="model">product.product</field>
8
 
            <field name="type">search</field>
9
8
            <field name="arch" type="xml">
10
9
                <search string="Product">
 
10
                       <field name="type" />
11
11
                   <filter string="Services" icon="terp-accessories-archiver" domain="[('type','=','service')]"/>
12
12
                   <filter string="Products" icon="terp-accessories-archiver" domain="['|',('type','=','product'),('type','=','consu')]" help="Both stockable and consumable products"/>
13
13
                   <separator orientation="vertical"/>
14
14
                   <filter string="To Sell" name="filter_to_sell" icon="terp-accessories-archiver-minus" domain="[('sale_ok','=',1)]"/>
15
 
                   <filter name="filter_to_purchase" string="To Purchase" icon="terp-accessories-archiver+" domain="[('purchase_ok', '=', 1)]" />
 
15
                   <filter name="filter_to_purchase" string="To Purchase" icon="terp-accessories-archiver+" domain="[('purchase_ok', '=', 1)]"/>
16
16
                   <separator orientation="vertical"/>
17
 
                   <field name="name"
18
 
                        filter_domain="['|', ('name','ilike',self),('default_code','ilike',self)]"/>
 
17
                   <field name="name" filter_domain="['|', ('name','ilike',self),('default_code','ilike',self)]"/>
19
18
                   <field name="categ_id" widget="selection" operator="child_of" groups="base.group_extended"/>
20
19
                   <newline/>
21
20
                   <group expand="0" string="Context..." groups="base.group_extended">
22
21
                       <field name="location_id" widget="selection" context="{'location': self}"/>
23
22
                       <field name="warehouse_id" widget="selection" context="{'warehouse': self}"/>
24
23
                       <separator orientation="vertical"/>
25
 
                       <field name="pricelist_id" widget="selection" context="{'pricelist': self}" />
26
 
                       <separator orientation="vertical" groups="base.group_multi_company" />
27
 
                       <field name="company_id" widget="selection" groups="base.group_multi_company" />
 
24
                       <field name="pricelist_id" widget="selection" context="{'pricelist': self}"/>
 
25
                       <separator orientation="vertical" groups="base.group_multi_company"/>
 
26
                       <field name="company_id" widget="selection" groups="base.group_multi_company"/>
28
27
                       <field name="date_from_to" widget="date" context="{'from_date':self, 'to_date':self2}"/>
29
28
                   </group>
30
29
                   <newline/>
31
 
                   <group  expand='0' string='Group by...' groups="base.group_extended">
32
 
                       <filter string='Category' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'categ_id'}" groups="base.group_extended"/>
33
 
                       <separator orientation="vertical"/>
34
 
                       <filter string='Default UOM' icon="terp-mrp" domain="[]" context="{'group_by' : 'uom_id'}" />
35
 
                       <separator orientation="vertical"/>
36
 
                       <filter string='Type' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'type'}" />
 
30
                   <group expand="0" string="Group by..." groups="base.group_extended">
 
31
                       <filter string="Category" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'categ_id'}" groups="base.group_extended"/>
 
32
                       <separator orientation="vertical"/>
 
33
                       <filter string="Default UOM" icon="terp-mrp" domain="[]" context="{'group_by' : 'uom_id'}"/>
 
34
                       <separator orientation="vertical"/>
 
35
                       <filter string="Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'type'}"/>
37
36
                       <separator orientation="vertical" groups="base.group_multi_company"/>
38
 
                       <filter string='Company' icon="terp-go-home" domain="[]" context="{'group_by' : 'company_id'}" groups="base.group_multi_company" />
 
37
                       <filter string="Company" icon="terp-go-home" domain="[]" context="{'group_by' : 'company_id'}" groups="base.group_multi_company"/>
39
38
                   </group>
40
39
 
41
40
                </search>
45
44
        <record id="product_product_tree_view_inh" model="ir.ui.view">
46
45
            <field name="name">product.product.tree.inh</field>
47
46
            <field name="model">product.product</field>
48
 
            <field name="type">tree</field>
49
47
            <field eval="7" name="priority"/>
50
48
            <field name="arch" type="xml">
51
49
                <tree string="Products">
54
52
                    <field name="categ_id" invisible="1"/>
55
53
                    <field name="variants" groups="product.group_product_variant"/>
56
54
                    <field name="uom_id" string="UoM"/>
57
 
                    <field name="type"/>
58
55
                    <field name="stock_done_start"/>
59
56
                    <field name="incoming_done_qty"/>
60
57
                    <field name="outgoing_done_qty"/>
71
68
        <record id="product_normal_form_view_inh" model="ir.ui.view">
72
69
            <field name="name">product.normal.form.inh</field>
73
70
            <field name="model">product.product</field>
74
 
            <field name="type">form</field>
75
71
            <field eval="7" name="priority"/>
76
72
            <field name="arch" type="xml">
77
 
                <form string="Product">
 
73
                <form string="Product" version="7.0">
78
74
                   <group colspan="4" col="8">
79
75
                    <group colspan="4" col="2">
80
76
                        <separator string="Name" colspan="2"/>
81
77
                        <field name="name"/>
82
 
                        <field groups="product.group_product_variant" name="variants" />
 
78
                        <field groups="product.group_product_variant" name="variants"/>
83
79
                    </group>
84
80
                    <group colspan="1" col="2">
85
81
                        <separator string="Codes" colspan="2"/>
91
87
                        <field name="sale_ok"/>
92
88
                        <field name="purchase_ok"/>
93
89
                    </group>
94
 
                    <group colspan="1" col="1">
95
 
                        <field name="product_image" widget='image' nolabel="1"/>
96
 
                    </group>
97
90
                   </group>
98
91
 
99
92
                    <notebook colspan="4">
100
93
                        <page string="Information">
101
94
                            <group colspan="2" col="2">
102
95
                                <separator string="Procurement" colspan="2"/>
 
96
                                <field name="procure_method" groups="base.group_extended"/>
103
97
                                <field name="type"/>
104
 
                                <field name="procure_method" groups="base.group_extended"/>
105
98
                                <field name="supply_method"/>
106
99
                            </group>
107
100
                            <group colspan="2" col="2">
108
101
                                <separator string="Base Prices" colspan="2"/>
109
102
                                <field name="list_price"/>
110
103
                                <field groups="base.group_extended" name="cost_method"/>
111
 
                                <field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}"
112
 
                                    groups="base.group_extended"/>
 
104
                                <field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}" groups="base.group_extended"/>
113
105
                                <newline/>
114
106
                                <field name="price_margin" groups="product.group_product_variant"/>
115
107
                                <field name="price_extra" groups="product.group_product_variant"/>
152
144
                            </group>
153
145
                            <group colspan="2" col="2" name="store">
154
146
                                <separator string="Storage Localisation" colspan="2"/>
155
 
                                <field name="loc_rack" attrs="{'readonly':[('type','=','service')]}" />
 
147
                                <field name="loc_rack" attrs="{'readonly':[('type','=','service')]}"/>
156
148
                                <field name="loc_row" attrs="{'readonly':[('type','=','service')]}"/>
157
149
                                <field name="loc_case" attrs="{'readonly':[('type','=','service')]}"/>
158
150
                            </group>
177
169
                        </page>
178
170
                        <page groups="base.group_extended" string="Packaging">
179
171
                            <field colspan="4" name="packaging" nolabel="1">
180
 
                                <form string="Packaging">
 
172
                                <form string="Packaging" version="7.0">
181
173
                                    <field name="ean"/>
182
174
                                    <field name="sequence" invisible="1"/>
183
175
                                    <newline/>
205
197
 
206
198
        <record id="product_normal_action_sell_inh" model="ir.actions.act_window">
207
199
            <field name="name">Product Kardex</field>
208
 
            <field name="type">ir.actions.act_window</field>
209
200
            <field name="res_model">product.product</field>
210
201
            <field name="view_mode">tree,form,kanban</field>
211
202
            <field name="view_type">form</field>
215
206
            <field name="help">You must define a Product for everything you buy or sell. Products can be raw materials, stockable products, consumables or services. The Product form contains detailed information about your products related to procurement logistics, sales price, product category, suppliers and so on.</field>
216
207
        </record>
217
208
 
218
 
        <menuitem action="product_normal_action_sell_inh" id="menu_products_inh" parent="stock.menu_stock_product" />
 
209
        <menuitem action="product_normal_action_sell_inh" id="menu_products_inh" parent="stock.menu_stock_product"/>
219
210
 
220
211
        <record id="open_view_product_tree1_inh" model="ir.actions.act_window.view">
221
212
            <field name="sequence" eval="1"/>
234
225
        <record id="view_normal_stock_property_form_inh" model="ir.ui.view">
235
226
            <field name="name">product.normal.stock.form.inherit2</field>
236
227
            <field name="model">product.product</field>
237
 
            <field name="type">form</field>
238
228
            <field name="inherit_id" ref="product_normal_form_view_inh"/>
239
229
            <field name="arch" type="xml">
240
230
                <group name="status" position="after">
251
241
                    </group>
252
242
                    <group colspan="2" col="2" name="lot" groups="base.group_extended">
253
243
                        <separator string="Lots" colspan="4"/>
254
 
                        <field name="track_production" />
255
 
                        <field name="track_incoming" />
256
 
                        <field name="track_outgoing" />
 
244
                        <field name="track_production"/>
 
245
                        <field name="track_incoming"/>
 
246
                        <field name="track_outgoing"/>
257
247
                    </group>
258
248
                </group>
259
249
            </field>