调整开料要求展示范围

This commit is contained in:
mgw
2024-11-22 09:23:36 +08:00
parent f6b8fa5665
commit 2b3da48e9b

View File

@@ -209,7 +209,7 @@
attrs="{'invisible': ['|',('routing_type','!=','解除装夹'),('state','!=','done')]}"/> attrs="{'invisible': ['|',('routing_type','!=','解除装夹'),('state','!=','done')]}"/>
</xpath> </xpath>
<xpath expr="//page[1]" position="before"> <xpath expr="//page[1]" position="before">
<page string="开料要求" attrs='{"invisible": [("routing_type","!=","切割")]}'> <page string="开料要求" attrs='{"invisible": [("routing_type","not in",("切割", "线切割", "人工线下加工"))]}'>
<group> <group>
<group> <group>
<field name="product_tmpl_id_materials_id" widget="many2one"/> <field name="product_tmpl_id_materials_id" widget="many2one"/>