多供货方式选择
This commit is contained in:
@@ -415,6 +415,14 @@ class sf_production_plan(models.Model):
|
||||
print(ret)
|
||||
except Exception as e:
|
||||
raise UserError(e)
|
||||
|
||||
# 增加制造订单类型
|
||||
production_type = fields.Selection(
|
||||
[('自动化产线加工', '自动化产线加工'), ('人工线下加工', '人工线下加工')],
|
||||
string='制造类型',
|
||||
related='production_id.production_type',
|
||||
store=True
|
||||
)
|
||||
|
||||
|
||||
# 机台作业计划
|
||||
|
||||
Reference in New Issue
Block a user