diff --git a/sf_base/views/tool_basic_param.xml b/sf_base/views/tool_basic_param.xml index 57a4a9a4..d138eeb8 100644 --- a/sf_base/views/tool_basic_param.xml +++ b/sf_base/views/tool_basic_param.xml @@ -124,7 +124,7 @@
- + diff --git a/sf_base/views/tool_views.xml b/sf_base/views/tool_views.xml index aa0e01da..34b87a41 100644 --- a/sf_base/views/tool_views.xml +++ b/sf_base/views/tool_views.xml @@ -123,10 +123,10 @@ + required="1"/>

- +

diff --git a/sf_manufacturing/models/product_template.py b/sf_manufacturing/models/product_template.py index 053edafd..be0c09ae 100644 --- a/sf_manufacturing/models/product_template.py +++ b/sf_manufacturing/models/product_template.py @@ -331,6 +331,7 @@ class ResProductMo(models.Model): (6, 0, self.cutting_tool_model_id.suitable_coolant_ids.ids)] self.compaction_way_id = self.cutting_tool_model_id.compaction_way_id.id self.fit_blade_shape_id = self.cutting_tool_model_id.fit_blade_shape_id.id + self.image_1920 = self.cutting_tool_model_id.image else: self.cutting_tool_type_id = False self.brand_id = False