From a0606842e5c33cce0e032f9ba5a1125bf5d9541c Mon Sep 17 00:00:00 2001 From: liaodanlong Date: Mon, 24 Mar 2025 14:26:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=87=E6=BB=A4=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_manufacturing/models/stock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sf_manufacturing/models/stock.py b/sf_manufacturing/models/stock.py index 06985115..92543ddb 100644 --- a/sf_manufacturing/models/stock.py +++ b/sf_manufacturing/models/stock.py @@ -786,6 +786,7 @@ class ReStockMove(models.Model): if not production_id: continue product_name = '' + logging.info('制造订单的产品',production_id.product_id.name) match = re.search(r'(S\d{5}-\d)', production_id.product_id.name) # 如果匹配成功,提取结果 if match: