1、刀具管理-机床换刀申请、CAM工单程序用刀计划、功能刀具组装增加了机床、功能刀具和功能刀具类型字段的关联关系,增加了tree视图功能按键 2、优化了CAM工单程序用刀计划的按键功能 3、对三个对象的字段的可读性进行了调整
This commit is contained in:
@@ -20,25 +20,17 @@
|
||||
</group>
|
||||
<group string="刀具信息">
|
||||
<group>
|
||||
<field name="replacement_tool_name"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="replacement_tool_type"/>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<group>
|
||||
<field name="replacement_tool_name_id"/>
|
||||
<field name="replacement_tool_code"/>
|
||||
<field name="replacement_tool_coarse_middle_thin"/>
|
||||
<field name="used_tool_time"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="new_former"/>
|
||||
<field name="applicant"/>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<group>
|
||||
<field name="replacement_tool_type_id"/>
|
||||
<field name="used_tool_time"/>
|
||||
<field name="new_former"/>
|
||||
<field name="reason_for_applying"/>
|
||||
|
||||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
@@ -69,7 +61,7 @@
|
||||
<sheet>
|
||||
<group string="机床信息">
|
||||
<group>
|
||||
<field name="CNC_machine_table"/>
|
||||
<field name="CNC_machine_table_id"/>
|
||||
<field name="cutter_spacing_code"/>
|
||||
</group>
|
||||
<group>
|
||||
@@ -78,8 +70,8 @@
|
||||
</group>
|
||||
<group string="刀具信息">
|
||||
<group>
|
||||
<field name="functional_tool_name" string="刀具名称"/>
|
||||
<field name="functional_tool_type" string="刀具类型"/>
|
||||
<field name="functional_tool_name_id" string="刀具名称"/>
|
||||
<field name="functional_tool_type_id" string="刀具类型"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="functional_tool_code" string="刀具编码"/>
|
||||
@@ -92,7 +84,7 @@
|
||||
</group>
|
||||
<group>
|
||||
<group>
|
||||
<field name="new_cnc_machine_table" attrs="{'invisible': [('transfer_target', '!=', '机台')]}"/>
|
||||
<field name="new_cnc_machine_table_id" attrs="{'invisible': [('transfer_target', '!=', '机台')]}"/>
|
||||
<field name="new_machine_tool_code" attrs="{'invisible': [('transfer_target', '!=', '机台')]}"/>
|
||||
<field name="new_cutter_spacing_code" attrs="{'invisible': [('transfer_target', '!=', '机台')]}"/>
|
||||
<field name="magazine_tool_warehouse_district" attrs="{'invisible': [('transfer_target', '!=', '线边刀库')]}"/>
|
||||
@@ -120,67 +112,6 @@
|
||||
</record>
|
||||
|
||||
|
||||
<!--================================================申请装刀================================================-->
|
||||
<record id="sf_apply_for_tooling_form" model="ir.ui.view">
|
||||
<field name="name">申请装刀</field>
|
||||
<field name="model">sf.apply.for.tooling</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="申请装刀">
|
||||
<sheet>
|
||||
<group string="基础信息">
|
||||
<group>
|
||||
<field name="ticket_task_code" string="工单编号"/>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<group>
|
||||
<field name="machine_table_name" string="CAM指定机床"/>
|
||||
<field name="cam_procedure_code" string="CAM程序编号"/>
|
||||
<field name="cam_cutter_spacing_code" string="CAM指定刀位号"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="functional_tool_name"/>
|
||||
<field name="functional_tool_code"/>
|
||||
<field name="functional_tool_type"/>
|
||||
</group>
|
||||
</group>
|
||||
<group string="数据信息">
|
||||
<group>
|
||||
<field name="diameter" string="直径"/>
|
||||
<field name="tool_included_angle" string="刀尖角"/>
|
||||
<field name="clearance_length"/>
|
||||
<field name="need_knife_time"/>
|
||||
<field name="whether_standard_tool"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="tool_loading_length"/>
|
||||
<field name="L_D"/>
|
||||
<field name="coarse_middle_thin"/>
|
||||
<field name="required_cutting_time" string="需切削时长"/>
|
||||
</group>
|
||||
</group>
|
||||
<group string="其他">
|
||||
<field name="reason_for_applying"/>
|
||||
</group>
|
||||
</sheet>
|
||||
<footer>
|
||||
<button string="确定" name="apply_for_tooling" type="object" class="btn-primary" confirm="是否确认申请装刀"/>
|
||||
<button string="取消" class="btn-secondary" special="cancel"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="sf_apply_for_tooling_act" model="ir.actions.act_window">
|
||||
<field name="name">申请装刀</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">sf.apply.for.tooling</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="view_id" ref="sf_apply_for_tooling_form"/>
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
|
||||
|
||||
<!--================================================功能刀具组装单================================================-->
|
||||
<record id="sf_functional_tool_assembly_order_form" model="ir.ui.view">
|
||||
<field name="name">功能刀具组装单</field>
|
||||
@@ -190,8 +121,8 @@
|
||||
<sheet>
|
||||
<group string="功能刀具申请信息">
|
||||
<group>
|
||||
<field name="machine_tool_name"/>
|
||||
<field name="functional_tool_name"/>
|
||||
<field name="machine_tool_name_id"/>
|
||||
<field name="functional_tool_name_id"/>
|
||||
<field name="functional_tool_length"/>
|
||||
<field name="effective_length"/>
|
||||
<field name="functional_tool_cutting_type"/>
|
||||
@@ -199,7 +130,7 @@
|
||||
</group>
|
||||
<group>
|
||||
<field name="cutter_spacing_code"/>
|
||||
<field name="functional_tool_type"/>
|
||||
<field name="functional_tool_type_id"/>
|
||||
<field name="functional_tool_diameter"/>
|
||||
<field name="tool_included_angle"/>
|
||||
<field name="whether_standard_tool"/>
|
||||
@@ -267,7 +198,7 @@
|
||||
<field name="order"/>
|
||||
<field name="functional_tool_code"/>
|
||||
<field name="name"/>
|
||||
<field name="functional_tool_type"/>
|
||||
<field name="functional_tool_type_id"/>
|
||||
<field name="production_line_name"/>
|
||||
<field name="machine_tool_code"/>
|
||||
<field name="receive_person"/>
|
||||
|
||||
Reference in New Issue
Block a user