diff --git a/sf_base/views/common_view.xml b/sf_base/views/common_view.xml
index bf9201b8..0826b51c 100644
--- a/sf_base/views/common_view.xml
+++ b/sf_base/views/common_view.xml
@@ -27,7 +27,7 @@
-
+
@@ -231,6 +231,9 @@
+
+
+
diff --git a/sf_dlm_management/views/product_template_management_view.xml b/sf_dlm_management/views/product_template_management_view.xml
index 264a1c95..453de6a3 100644
--- a/sf_dlm_management/views/product_template_management_view.xml
+++ b/sf_dlm_management/views/product_template_management_view.xml
@@ -41,14 +41,15 @@
context="{'default_cutting_tool_type': cutting_tool_type,'default_standard_library_id':cutting_tool_model_id}"
attrs="{'invisible': [('categ_type', '!=', '刀具')],'required': [('categ_type', '=', '刀具')],'readonly': [('id', '!=', False)]}"
domain="[('standard_library_id','=',cutting_tool_model_id)]"/>
-
diff --git a/sf_tool_management/models/base.py b/sf_tool_management/models/base.py
index 968f6841..8e25ae1f 100644
--- a/sf_tool_management/models/base.py
+++ b/sf_tool_management/models/base.py
@@ -830,7 +830,7 @@ class FunctionalToolAssembly(models.Model):
code = fields.Char('功能刀具编码', readonly=True)
rfid = fields.Char('Rfid', readonly=True)
tool_groups_id = fields.Many2one('sf.tool.groups', '刀具组', readonly=True)
- name = fields.Char(string='名称', readonly=True, compute='_compute_name')
+ name = fields.Char(string='名称', readonly=True, compute='_compute_name', store=True)
assembly_order_code = fields.Char(string='组装单编码', readonly=True)
functional_tool_name_id = fields.Many2one('product.product', string='功能刀具', readonly=True)