增加坯料冗余量,调整坯料客供料的名称

This commit is contained in:
胡尧
2024-11-18 09:44:50 +08:00
parent 9410ca82db
commit bc0b8bdecb
12 changed files with 84 additions and 27 deletions

View File

@@ -417,12 +417,12 @@ class sf_production_plan(models.Model):
raise UserError(e)
# 增加制造订单类型
production_type = fields.Selection(
[('自动化产线加工', '自动化产线加工'), ('人工线下加工', '人工线下加工')],
string='制造类型',
related='production_id.production_type',
store=True
)
# production_type = fields.Selection(
# [('自动化产线加工', '自动化产线加工'), ('人工线下加工', '人工线下加工')],
# string='制造类型',
# related='production_id.production_type',
# store=True
# )
# 机台作业计划