修复日计划工单
This commit is contained in:
@@ -149,7 +149,7 @@ class ResMrpWorkOrder(models.Model):
|
||||
params = [tomorrow, tomorrow, tomorrow, tomorrow]
|
||||
if production_line:
|
||||
sql += "AND production_line_id = %s"
|
||||
params.append(production_line)
|
||||
params.append(production_line)
|
||||
self.env.cr.execute(sql, params)
|
||||
ids = [t[0] for t in self.env.cr.fetchall()]
|
||||
return [('id', 'in', ids)]
|
||||
|
||||
Reference in New Issue
Block a user