当产品的刀具物料不是刀柄时,隐藏对应序列号模型的Rfid字段

This commit is contained in:
yuxianghui
2024-04-02 16:38:19 +08:00
parent 9ed3930a1b
commit aac5195b4d

View File

@@ -14,7 +14,8 @@
</header>
</xpath>
<xpath expr="//field[@name='product_id']" position="before">
<field name="rfid"/>
<field name="rfid" attrs="{'invisible': [('product_material_name', 'not in', '刀柄')]}"/>
<field name="product_material_name" invisible="1"/>
</xpath>
<xpath expr="//field[@name='product_id']" position="after">
<field name="product_specification"/>