[REM] Removed useless argument causing problem in case of buggy load_state
[odoo/odoo.git] / addons / stock / res_config_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4
5         <record id="view_stock_config_settings" model="ir.ui.view">
6             <field name="name">stock settings</field>
7             <field name="model">stock.config.settings</field>
8             <field name="type">form</field>
9             <field name="arch" type="xml">
10                 <form string="Configure Warehouse" version="7.0">
11                     <header>
12                         <button string="Apply" type="object" name="execute" class="oe_highlight"/>
13                         or
14                         <button string="Cancel" type="object" name="cancel" class="oe_link"/>
15                     </header>
16                     <sheet>
17                         <group string="Traceability">
18                             <field name="group_stock_production_lot"/>
19                             <field name="group_stock_tracking_lot"/>
20                             <field name="module_product_expiry"
21                                 attrs="{'invisible': [('group_stock_production_lot','=',False)]}"/>
22                         </group>
23                         <group string="Logistics">
24                             <group>
25                                 <field name="group_stock_multiple_locations"/>
26                                 <field name="module_stock_invoice_directly"/>
27                             </group>
28                             <group>
29                                 <field name="module_stock_location"/>
30                                 <field name="decimal_precision"/>
31                             </group>
32                         </group>
33                         <group string="Products">
34                             <group>
35                                 <field name="group_stock_packaging"/>
36                                 <field name="group_uom"/>
37                                 <field name="group_uos"/>
38                             </group>
39                             <group>
40                                 <field name="group_stock_inventory_valuation"/>
41                                 <field name="group_product_variant"/>
42                             </group>
43                         </group>
44                         <group string="Partners">
45                             <field name="module_claim_from_delivery"/>
46                         </group>
47                     </sheet>
48                 </form>
49             </field>
50         </record>
51
52         <record id="action_stock_config_settings" model="ir.actions.act_window">
53             <field name="name">Configure Warehouse</field>
54             <field name="type">ir.actions.act_window</field>
55             <field name="res_model">stock.config.settings</field>
56             <field name="view_mode">form</field>
57             <field name="target">inline</field>
58         </record>
59
60         <menuitem id="menu_stock_config_settings" name="Warehouse" parent="base.menu_config"
61             sequence="5" action="action_stock_config_settings"/>
62
63     </data>
64 </openerp>