过滤错误
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user