当产品的刀具物料不是刀柄时,隐藏对应序列号模型的Rfid字段
This commit is contained in:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user