35 lines
1.3 KiB
XML
35 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<record id="view_stock_location_product" model="ir.ui.view">
|
|
<field name="name">Products by Location</field>
|
|
<field name="model">stock.location.product</field>
|
|
<field name="arch" type="xml">
|
|
<form string="View Stock of Products" version="7.0">
|
|
<group>
|
|
<field name="type"/>
|
|
</group>
|
|
<group attrs="{'invisible':[('type', '!=', 'period')], 'required':[('type', '=', 'period')]}">
|
|
<field name="from_date"/>
|
|
<field name="to_date"/>
|
|
</group>
|
|
<footer>
|
|
<button name="action_open_window" string="View Products Inventory" type="object" class="oe_highlight"/>
|
|
or
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
<act_window name="Products by Location"
|
|
res_model="stock.location.product"
|
|
src_model="stock.location"
|
|
view_mode="form"
|
|
target="new"
|
|
key2="client_action_multi"
|
|
id="action_view_stock_location_product"/>
|
|
</data>
|
|
</openerp>
|