完成计划权限,优化警告错误
This commit is contained in:
@@ -543,7 +543,7 @@ class WorkCenterBarcode(models.Model):
|
||||
|
||||
# 如果没有附件,直接返回
|
||||
if not self.cnc_ids:
|
||||
return
|
||||
return None
|
||||
|
||||
# 处理第一个附件的文件名
|
||||
first_attachment = self.cnc_ids[0].cnc_id
|
||||
|
||||
Reference in New Issue
Block a user