Files
stock-logistics-warehouse/stock_quant_manual_assign/views/stock_move_view.xml
2020-03-30 21:21:24 +08:00

27 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="stock_move_manual_quants_form_view">
<field name="name">stock.move.form</field>
<field name="model">stock.move</field>
<field name="inherit_id" ref="stock.view_move_form" />
<field name="arch" type="xml">
<button name="action_done" position="after">
<button name="%(assign_manual_quants_action)d" states="confirmed,assigned" string="Manual Quants" type="action" class="oe_highlight"/>
</button>
</field>
</record>
<record model="ir.ui.view" id="stock_move_manual_quants_picking_form_view">
<field name="name">stock.move.form</field>
<field name="model">stock.move</field>
<field name="inherit_id" ref="stock.view_move_picking_form" />
<field name="arch" type="xml">
<button name="force_assign" position="after">
<button name="%(assign_manual_quants_action)d" states="confirmed,assigned" string="Manual Quants" type="action" class="oe_highlight"/>
</button>
</field>
</record>
</data>
</openerp>