刀具物料功能模型从sf_base模块迁移到sf_manufacturing模块;新增每齿走刀量模型;整体式刀具物料新增关联每齿走刀量对象字段;

This commit is contained in:
yuxianghui
2023-09-08 10:20:52 +08:00
parent ae3f7c9c0c
commit 35afdd3b2a
13 changed files with 138 additions and 55 deletions

View File

@@ -211,22 +211,51 @@
</group>
</group>
<group string="适合加工方式">
<field name="suitable_machining_method_ids" string=""/>
<field name="suitable_machining_method_ids" string="" widget="many2many_checkboxes"/>
</group>
<group string="刀尖特征">
<field name="blade_tip_characteristics_ids" string=""/>
<field name="blade_tip_characteristics_ids" string="" widget="many2many_checkboxes"/>
</group>
<group string="柄部类型">
<field name="handle_type_ids" string=""/>
<field name="handle_type_ids" string="" widget="many2many_checkboxes"/>
</group>
<group string="走刀方向">
<field name="cutting_direction_ids" string=""/>
<field name="cutting_direction_ids" string="" widget="many2many_checkboxes"/>
</group>
<group string="适合冷却液">
<field name="suitable_coolant_ids" string=""/>
<field name="suitable_coolant_ids" string="" widget="many2many_checkboxes"/>
</group>
<group string="切削速度Vc">
<field name="cutting_speed_ids" string=""/>
<field name="cutting_speed_ids" string="" widget="one2many">
<tree editable="bottom">
<!-- <field name="order"/>-->
<field name="execution_standard_id"/>
<field name="material_code"/>
<field name="material_name"/>
<field name="material_grade"/>
<field name="tensile_strength"/>
<field name="hardness"/>
<field name="cutting_speed_n1"/>
<field name="cutting_speed_n2"/>
<field name="cutting_speed_n3"/>
<field name="cutting_speed_n4"/>
<field name="cutting_speed_n5"/>
<field name="rough_machining"/>
<field name="precision_machining"/>
<field name="application"/>
</tree>
</field>
</group>
<group string="每齿走刀量fz">
<field name="feed_per_tooth_ids" string="" widget="one2many">
<tree editable="bottom">
<field name="cutting_speed" attrs="{'readonly': [('materials_type_id','!=',False)]}"/>
<field name="materials_type_id" attrs="{'readonly': [('cutting_speed','!=',False)]}"/>
<field name="blade_diameter"/>
<field name="feed_per_tooth"/>
<field name="unit"/>
</tree>
</field>
</group>
</group>
</page>