[MERGE] Sync with trunk, until revision 8927
[odoo/odoo.git] / addons / stock / wizard / stock_location_product_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4         <record id="view_stock_location_product" model="ir.ui.view">
5             <field name="name">Products by Location</field>
6             <field name="model">stock.location.product</field>
7             <field name="arch" type="xml">
8                <form string="View Stock of Products" version="7.0">
9                     <group>
10                         <field name="type"/>
11                     </group>
12                     <group attrs="{'invisible':[('type', '!=', 'period')], 'required':[('type', '=', 'period')]}">
13                         <field name="from_date"/>
14                         <field name="to_date"/>
15                     </group>
16                     <footer>
17                         <button name="action_open_window" string="View Products Inventory" type="object" class="oe_highlight"/>
18                         or
19                         <button string="Cancel" class="oe_link" special="cancel" />
20                     </footer>
21                 </form>
22             </field>
23         </record>
24
25
26         <act_window name="Products by Location"
27             res_model="stock.location.product"
28             src_model="stock.location"
29             view_mode="form"
30             target="new"
31             key2="client_action_multi"
32             id="action_view_stock_location_product"/>
33     </data>
34 </openerp>