From 3c3ffa1ebc0c84457642aa1f42a4dea3447ef737 Mon Sep 17 00:00:00 2001 From: "jinling.yang" Date: Tue, 9 Jan 2024 12:01:20 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E9=87=87=E8=B4=AD=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E7=A1=AE=E8=AE=A4=E6=8C=89=E9=92=AE=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=982.=E4=BF=AE=E5=A4=8D=E6=B6=89=E5=8F=8A?= =?UTF-8?q?=E9=80=82=E5=90=88=E5=86=B7=E5=8D=B4=E6=96=B9=E5=BC=8F=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E7=9A=84=E7=9B=B8=E5=85=B3=E6=A8=A1=E5=9E=8B=E5=86=85?= =?UTF-8?q?=E8=AF=A5=E5=AD=97=E6=AE=B5=E7=9A=84=E8=BF=87=E6=BB=A4=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=9D=A1=E4=BB=B63.=E4=BF=AE=E6=94=B9=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E7=9A=84=E9=80=82=E5=90=88=E5=88=80=E6=9F=84=E5=9E=8B?= =?UTF-8?q?=E5=8F=B7=E5=AD=97=E6=AE=B5=E7=B1=BB=E5=9E=8B4.=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=94=80=E5=94=AE=E8=AE=A2=E5=8D=95=E7=9A=84=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_base/models/tool_base_new.py | 4 +-- .../product_template_management_view.xml | 2 +- sf_manufacturing/models/product_template.py | 27 +++++++++---------- sf_sale/models/sale_order.py | 2 +- sf_sale/views/purchase_order_view.xml | 5 ++-- sf_sale/views/sale_order_view.xml | 2 +- sf_tool_management/models/base.py | 4 +-- .../models/tool_material_search.py | 4 +-- 8 files changed, 25 insertions(+), 25 deletions(-) diff --git a/sf_base/models/tool_base_new.py b/sf_base/models/tool_base_new.py index 1c7219bc..33d23ecb 100644 --- a/sf_base/models/tool_base_new.py +++ b/sf_base/models/tool_base_new.py @@ -89,8 +89,8 @@ class CuttingToolModel(models.Model): '柄部类型', domain=[('type', '=', '柄部类型')]) cutting_direction_ids = fields.Many2many('maintenance.equipment.image', 'cutting_direction_library_rel', '走刀方向', domain=[('type', '=', '走刀方向')]) - suitable_coolant_ids = fields.Many2many('maintenance.equipment.image', 'suitable_coolant_library_rel', - '适合冷却液', domain=[('type', '=', '冷却液')]) + suitable_coolant_ids = fields.Many2many('maintenance.equipment.image', 'suitable_coolants_library_rel', + '适合冷却方式', domain=[('type', '=', '冷却方式')]) compaction_way_id = fields.Many2one('maintenance.equipment.image', '压紧方式', domain=[('type', '=', '压紧方式')]) integral_tool_basic_parameters_ids = fields.One2many('sf.tool.materials.basic.parameters', diff --git a/sf_dlm_management/views/product_template_management_view.xml b/sf_dlm_management/views/product_template_management_view.xml index 94cb4b7f..9ffd7462 100644 --- a/sf_dlm_management/views/product_template_management_view.xml +++ b/sf_dlm_management/views/product_template_management_view.xml @@ -338,7 +338,7 @@ attrs="{'invisible': [('cutting_tool_type', '!=', '夹头')],'readonly': [('id', '!=', False)]}"/> - - + @@ -25,9 +25,10 @@