调整数据源

This commit is contained in:
mgw
2025-01-09 16:12:54 +08:00
parent fc16c867aa
commit aaf72d5e35
2 changed files with 5 additions and 4 deletions

View File

@@ -1646,7 +1646,9 @@ class sf_programming_record(models.Model):
# 编号、编程原因、编程方式、当前编程次数、目标制造单号、申请时间、下发时间
number = fields.Char('编号')
reason = fields.Text('重新编程原因')
programming_method = fields.Selection([('人工编程', '人工编程'), ('自动编程', '自动编程')], string="编程方式")
programming_method = fields.Selection([
('auto', '自动'),
('manual operation', '人工')], string="编程方式")
current_programming_count = fields.Integer('当前编程次数')
target_production_id = fields.Char('目标制造单号')
apply_time = fields.Datetime('申请时间')