处理提示词制造订单重复问题;处理获取数据按钮显隐问题

This commit is contained in:
mgw
2024-09-20 11:45:23 +08:00
parent bc888d7984
commit 7d877a0cbb
3 changed files with 6 additions and 3 deletions

View File

@@ -623,7 +623,7 @@ class Sf_Dashboard_Connect(http.Controller):
# 未完成订单
not_done_orders = plan_obj.search(
[('production_line_id.name', '=', line), ('state', 'not in', ['finished']),
('production_id.state', 'not in', ['cancel']), ('active', '=', True)
('production_id.state', 'not in', ['cancel', 'done']), ('active', '=', True)
])
# print(not_done_orders)
# 完成订单