This commit is contained in:
liaodanlong
2025-04-25 14:39:58 +08:00
parent 443a21a0cc
commit 10a1d43a17
2 changed files with 3 additions and 3 deletions

View File

@@ -224,11 +224,11 @@ class sf_production_plan(models.Model):
return num
def do_production_schedule(self,date_planned_start):
def do_production_schedule(self):
"""
排程方法
"""
self.deal_processing_schedule(date_planned_start)
self.deal_processing_schedule(self.date_planned_start)
for record in self:
if not record.production_line_id:
raise ValidationError("未选择生产线")