调整扫码字段的位置

This commit is contained in:
mgw
2025-01-16 17:10:55 +08:00
parent 5db877a54c
commit 2dc54792f4

View File

@@ -126,9 +126,10 @@
<field name="model">mrp.workorder</field>
<field name="inherit_id" ref="mrp.mrp_production_workorder_form_view_inherit"/>
<field name="arch" type="xml">
<form position="inside">
<xpath expr="//sheet" position="inside">
<!-- 其他可见字段 -->
<field name="_barcode_scanned" widget="barcode_handler" invisible="1"/>
</form>
</xpath>
<!-- <xpath expr="//form" position="inside"> -->
<!-- <script src="sf_manufacturing/static/src/js/customRFID.js"/> -->
<!-- </xpath> -->
@@ -311,7 +312,6 @@
<xpath expr="//page[1]" position="before">
<page string="工件装夹" attrs='{"invisible": [("routing_type","!=","装夹预调")]}'>
<group>
<field name="_barcode_scanned" widget="barcode_handler"/>
<group string="托盘">
<field name="tray_serial_number" readonly="1" string="序列号"/>
</group>