odoo/addons/stock/wizard/stock_change_product_qty_vi...

38 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_change_product_quantity" model="ir.ui.view">
<field name="name">Change Product Quantity</field>
<field name="model">stock.change.product.qty</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Change Product Quantity" version="7.0">
<group string="Select Quantity">
<field name="new_quantity" />
<field name="product_id" invisible="1"/>
<field name="location_id" groups="stock.group_locations"/>
<field name="prodlot_id" groups="stock.group_tracking_lot"/>
</group>
<footer>
<button name="change_product_qty" string="_Apply" type="object" class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</footer>
</form>
</field>
</record>
<record id="action_view_change_product_quantity" model="ir.actions.act_window">
<field name="name">Change Product Quantity</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">stock.change.product.qty</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="view_change_product_quantity"/>
<field name="target">new</field>
</record>
</data>
</openerp>