diff --git a/sf_base/models/tool_other_features.py b/sf_base/models/tool_other_features.py index 56c8c8a6..80410e3b 100644 --- a/sf_base/models/tool_other_features.py +++ b/sf_base/models/tool_other_features.py @@ -9,7 +9,6 @@ class ToolMaterialsBasicParameters(models.Model): specification_id = fields.Many2one('sf.cutting_tool.specification.wizard', string='刀具规格') cutting_tool_type = fields.Char(related='standard_library_id.cutting_tool_type', string='刀具物料类型', store=True) - # cutting_tool_type_1 = fields.Char(related='cutting_tool_type', string='类型', store=True) # 整体式刀具参数 code = fields.Char('物料号', size=50) diff --git a/sf_dlm/__init__.py b/sf_dlm/__init__.py index 40272379..8b137891 100644 --- a/sf_dlm/__init__.py +++ b/sf_dlm/__init__.py @@ -1 +1 @@ -from . import wizard + diff --git a/sf_dlm/__manifest__.py b/sf_dlm/__manifest__.py index 85906b2b..5f692988 100644 --- a/sf_dlm/__manifest__.py +++ b/sf_dlm/__manifest__.py @@ -17,7 +17,7 @@ 'data/product_data.xml', 'data/uom_data.xml', 'security/ir.model.access.csv', - 'wizard/cutting_tool_specification_wizard.xml', + # 'wizard/cutting_tool_specification_wizard.xml', 'views/product_template_view.xml', 'views/product_workorder.xml' ], diff --git a/sf_dlm/security/ir.model.access.csv b/sf_dlm/security/ir.model.access.csv index 9039e2c1..fd6de5be 100644 --- a/sf_dlm/security/ir.model.access.csv +++ b/sf_dlm/security/ir.model.access.csv @@ -1,5 +1,4 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_sf_cutting_tool_specification_wizard,sf_cutting_tool_specification_wizard,model_sf_cutting_tool_specification_wizard,base.group_user,1,1,1,1 diff --git a/sf_dlm/views/product_template_view.xml b/sf_dlm/views/product_template_view.xml index bcb0e894..44351c94 100644 --- a/sf_dlm/views/product_template_view.xml +++ b/sf_dlm/views/product_template_view.xml @@ -56,9 +56,10 @@
-