质量模块和库存扫码
This commit is contained in:
14
stock_barcode/static/src/widgets/set_reserved_qty_button.xml
Normal file
14
stock_barcode/static/src/widgets/set_reserved_qty_button.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<button t-name="stock_barcode.SetReservedQuantityButtonTemplate" owl="1"
|
||||
class="o_button_qty_done d-flex btn"
|
||||
t-attf-class="{{props.value ? 'btn-primary' : 'btn-secondary'}}"
|
||||
t-on-click="_setQuantity" t-att-disabled="!props.value">
|
||||
<t t-if="props.value">
|
||||
/ <span name="product_uom_qty" class="ms-1" t-out="props.value"/>
|
||||
</t>
|
||||
<span t-if="displayUOM" name="product_uom_id" class="text-capitalize ms-1" t-out="uom.name"/>
|
||||
</button>
|
||||
|
||||
</templates>
|
||||
Reference in New Issue
Block a user