修复刀具产品及同步刀具标准库
This commit is contained in:
@@ -35,13 +35,6 @@
|
||||
<field name="code"/>
|
||||
<field name="name" string="名称"/>
|
||||
<field name="mrs_cutting_tool_type_id"/>
|
||||
<!-- <field name="mrs_cutting_tool_integral_model_ids" optional="hide"/>-->
|
||||
<!-- <field name="mrs_cutting_tool_blade_model_ids" optional="hide"/>-->
|
||||
<!-- <field name="mrs_cutting_tool_cutterbar_model_ids" optional="hide"/>-->
|
||||
<!-- <field name="mrs_cutting_tool_cutterpad_model_ids" optional="hide"/>-->
|
||||
<!-- <field name="mrs_cutting_tool_cutterhandle_model_ids" optional="hide"/>-->
|
||||
<!-- <field name="mrs_cutting_tool_cutterhead_model_ids" optional="hide"/>-->
|
||||
<!-- <field name="image" widget='image'/>-->
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
@@ -60,52 +53,9 @@
|
||||
<field name="mrs_cutting_tool_type_id"
|
||||
options="{'no_create': True, 'no_quick_create': True}"/>
|
||||
<field name="mrs_cutting_tool_model_id"
|
||||
options="{'no_create': True, 'no_quick_create': True}"
|
||||
attrs="{'invisible': True}"/>
|
||||
<!-- <field name="mrs_cutting_tool_integral_model_ids"-->
|
||||
<!-- options="{'no_create': True, 'no_quick_create': True}"-->
|
||||
<!-- widget="many2many_tags"/>-->
|
||||
<!-- <field name="mrs_cutting_tool_blade_model_ids"-->
|
||||
<!-- options="{'no_create': True, 'no_quick_create': True}"-->
|
||||
<!-- widget="many2many_tags"/>-->
|
||||
<!-- <field name="mrs_cutting_tool_cutterbar_model_ids"-->
|
||||
<!-- options="{'no_create': True, 'no_quick_create': True}"-->
|
||||
<!-- widget="many2many_tags"/>-->
|
||||
<!-- <field name="mrs_cutting_tool_cutterpad_model_ids"-->
|
||||
<!-- options="{'no_create': True, 'no_quick_create': True}"-->
|
||||
<!-- widget="many2many_tags"/>-->
|
||||
<!-- <field name="mrs_cutting_tool_cutterhandle_model_ids"-->
|
||||
<!-- options="{'no_create': True, 'no_quick_create': True}"-->
|
||||
<!-- widget="many2many_tags"/>-->
|
||||
<!-- <field name="mrs_cutting_tool_cutterhead_model_ids"-->
|
||||
<!-- options="{'no_create': True, 'no_quick_create': True}"-->
|
||||
<!-- widget="many2many_tags"/>-->
|
||||
options="{'no_create': True, 'no_quick_create': True}"/>
|
||||
</group>
|
||||
<!-- <group>-->
|
||||
<!-- <field name="image" nolabel="1" widget="image"/>-->
|
||||
<!-- </group>-->
|
||||
|
||||
</group>
|
||||
<!-- <group string='参数信息'>-->
|
||||
<!-- <group>-->
|
||||
<!-- <field name="diameter"/>-->
|
||||
<!-- <field name="tool_grade"/>-->
|
||||
<!-- <field name="machining_accuracy"/>-->
|
||||
<!-- <field name="tool_length"/>-->
|
||||
<!-- <field name="blade_number"/>-->
|
||||
<!-- </group>-->
|
||||
<!-- <group>-->
|
||||
<!-- <field name="integral_blade_length"/>-->
|
||||
<!-- <field name="effective_blade_length"/>-->
|
||||
<!-- <field name="max_life"/>-->
|
||||
<!-- <field name="is_standard"/>-->
|
||||
<!-- </group>-->
|
||||
<!-- </group>-->
|
||||
<!-- <group string='其他信息'>-->
|
||||
<!-- <group>-->
|
||||
<!-- <field name="applicable_range"/>-->
|
||||
<!-- </group>-->
|
||||
<!-- </group>-->
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
@@ -220,7 +170,7 @@
|
||||
</group>
|
||||
<group string="适配刀片形状"
|
||||
attrs="{'invisible': [('cutting_tool_type', 'in', ('刀柄','夹头','整体式刀具',False))]}">
|
||||
<field name="fit_blade_shape_ids" string="" widget="custom_many2many_checkboxes"/>
|
||||
<field name="fit_blade_shape_id" string="" widget="custom_many2many_checkboxes"/>
|
||||
</group>
|
||||
<group string="适合加工方式"
|
||||
attrs="{'invisible': [('cutting_tool_type', 'not in', ('整体式刀具','刀杆','刀盘','刀片'))]}">
|
||||
@@ -229,7 +179,7 @@
|
||||
</group>
|
||||
<group string="刀尖特征"
|
||||
attrs="{'invisible': [('cutting_tool_type', 'not in', ('整体式刀具','刀杆','刀盘','刀片'))]}">
|
||||
<field name="blade_tip_characteristics_ids" string=""
|
||||
<field name="blade_tip_characteristics_id" string=""
|
||||
widget="custom_many2many_checkboxes"/>
|
||||
</group>
|
||||
<group attrs="{'invisible': [('cutting_tool_type', 'not in', ('整体式刀具','刀杆','刀盘','刀片'))]}">
|
||||
@@ -558,5 +508,34 @@
|
||||
<field name="domain">[]</field>
|
||||
</record>
|
||||
|
||||
<!-- ================================================刀具基础参数================================================ -->
|
||||
<!-- <record id="view_sf_tool_materials_basic_parameters_tree" model="ir.ui.view">-->
|
||||
<!-- <field name="name">sf.tool.materials.basic.parameters.tree</field>-->
|
||||
<!-- <field name="model">sf.tool.materials.basic.parameters</field>-->
|
||||
<!-- <field name="arch" type="xml">-->
|
||||
<!-- <tree string="基础参数" delete="0" create="0">-->
|
||||
<!-- <field name="total_length" />-->
|
||||
<!-- <field name="blade_number" />-->
|
||||
<!-- <field name="neck_diameter"/>-->
|
||||
<!-- <field name="neck_length"/>-->
|
||||
<!-- <field name="handle_diameter" />-->
|
||||
<!-- <field name="handle_length" />-->
|
||||
<!-- <field name="blade_tip_diameter"/>-->
|
||||
<!-- <field name="blade_tip_working_size"/>-->
|
||||
<!-- <field name="blade_tip_taper" />-->
|
||||
<!-- <field name="blade_diameter" />-->
|
||||
<!-- <field name="blade_length"/>-->
|
||||
<!-- <field name="blade_helix_angle"/>-->
|
||||
<!-- <field name="blade_width" />-->
|
||||
<!-- <field name="blade_width" />-->
|
||||
<!-- <field name="pitch"/>-->
|
||||
<!-- <field name="cutting_depth"/>-->
|
||||
<!-- </tree>-->
|
||||
<!-- </field>-->
|
||||
<!-- </record>-->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user