质量模块和库存扫码
This commit is contained in:
22
stock_barcode/wizard/stock_barcode_cancel_operation.xml
Normal file
22
stock_barcode/wizard/stock_barcode_cancel_operation.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<record id="stock_barcode_cancel_operation_view" model="ir.ui.view">
|
||||
<field name="name">stock_barcode_cancel_operation</field>
|
||||
<field name="model">stock_barcode.cancel.operation</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Cancel operation">
|
||||
<field name="picking_id" invisible="1"/>
|
||||
<p>Are you sure you want to cancel this operation ?</p>
|
||||
<footer>
|
||||
<button name="action_cancel_operation" type="object" class="oe_highlight" data-hotkey="q">
|
||||
<span>
|
||||
Cancel
|
||||
<field name="picking_name" attrs="{'invisible': [('picking_id', '=', False)]}"/>
|
||||
</span>
|
||||
</button>
|
||||
<button string="Don't cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user