优化制造订单菜单

This commit is contained in:
jinling.yang
2024-07-04 17:31:03 +08:00
parent 050e82673a
commit 52fa229896
5 changed files with 82 additions and 16 deletions

View File

@@ -184,7 +184,7 @@
<xpath expr="//label[1]" position="before">
<field name='routing_type' readonly="1"/>
<field name='process_state' attrs='{"invisible": [("routing_type","!=","装夹预调")]}'/>
<field name="rfid_code" force_save="1" readonly="1" cache="True"
<field name="rfid_code" cache="True"
attrs="{'invisible': [('rfid_code_old', '!=', False)]}"/>
<field name="rfid_code_old" readonly="1" attrs="{'invisible': [('rfid_code_old', '=', False)]}"/>
</xpath>