工艺外协代码回退
This commit is contained in:
@@ -228,7 +228,7 @@ class sf_production_plan(models.Model):
|
|||||||
"""
|
"""
|
||||||
排程方法
|
排程方法
|
||||||
"""
|
"""
|
||||||
self.deal_processing_schedule(self.date_planned_start)
|
self.deal_processing_schedule(self[0].date_planned_start)
|
||||||
for record in self:
|
for record in self:
|
||||||
if not record.production_line_id:
|
if not record.production_line_id:
|
||||||
raise ValidationError("未选择生产线")
|
raise ValidationError("未选择生产线")
|
||||||
|
|||||||
Reference in New Issue
Block a user