From dba38f4d379a37e8c57eef0897310403da48b75f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E5=B0=A7?= Date: Mon, 16 Jun 2025 10:50:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=A7=E5=93=81=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_manufacturing/models/product_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sf_manufacturing/models/product_template.py b/sf_manufacturing/models/product_template.py index d40da113..22effb7e 100644 --- a/sf_manufacturing/models/product_template.py +++ b/sf_manufacturing/models/product_template.py @@ -1121,7 +1121,7 @@ class ResProductMo(models.Model): def generate_product_name(self, order_id, item, i): """生成成品名称""" - product_name = '%s-%s-%s' % ('P', order_id.name, i), + product_name = '%s-%s-%s' % ('P', order_id.name, i) return product_name def generate_embryo_name(self, order_id, item, materials_id, materials_type_id, embryo_redundancy_id, i):