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: