From ed641c85b37255ff7d74039be9b61e32233b84f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E5=B0=A7?= Date: Thu, 14 Nov 2024 15:36:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_manufacturing/models/mrp_production.py | 2 +- sf_manufacturing/models/product_template.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sf_manufacturing/models/mrp_production.py b/sf_manufacturing/models/mrp_production.py index 2c499597..40239012 100644 --- a/sf_manufacturing/models/mrp_production.py +++ b/sf_manufacturing/models/mrp_production.py @@ -1299,7 +1299,7 @@ class MrpProduction(models.Model): 'user_id': production.user_id.id} return production_values_str - 增加制造订单类型 + # 增加制造订单类型 production_type = fields.Selection( [('自动化产线加工', '自动化产线加工'), ('人工线下加工', '人工线下加工')], string='制造类型', diff --git a/sf_manufacturing/models/product_template.py b/sf_manufacturing/models/product_template.py index f293ef64..022b4b2e 100644 --- a/sf_manufacturing/models/product_template.py +++ b/sf_manufacturing/models/product_template.py @@ -859,7 +859,7 @@ class ResProductMo(models.Model): item['model_width'] + model_type.embryo_tolerance) * ( item['model_height'] + model_type.embryo_tolerance), 'product_model_type_id': model_type.id, - # 'model_processing_panel': 'R', + 'model_processing_panel': item['processing_panel_detail'], 'model_machining_precision': item['model_machining_precision'], 'model_code': item['barcode'], 'length': item['model_long'],