修改模型id为模型ID,增加机台判断

This commit is contained in:
胡尧
2025-04-24 14:58:50 +08:00
parent 40137ba69c
commit 4b29def105
5 changed files with 8 additions and 5 deletions

View File

@@ -1821,7 +1821,7 @@ class MrpProduction(models.Model):
logging.info('update_programming_state error:%s' % e)
raise UserError("更新编程单状态失败,请联系管理员")
model_id = fields.Char('模型id', related='product_id.model_id')
model_id = fields.Char('模型ID', related='product_id.model_id')
# 编程记录