适用刀具物料类型字段 设置只能去选择。取消必填

This commit is contained in:
liaodanlong
2024-09-18 16:36:52 +08:00
parent 7ce2f6c797
commit ac43be1262
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
<field name="inherit_id" ref="sf_base.view_cutter_function_tree"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='name']" position="after">
<field name="cutting_tool_type_ids" widget="many2many_tags"/>
<field name="cutting_tool_type_ids" widget="many2many_tags" options="{'no_create': True}"/>
</xpath>
</field>
</record>