Commit 8c76d9d4 by 赵言乐

修复推送数据重复的bug

parent 94462406
......@@ -23,7 +23,8 @@ class InheritRokeResultPutWarehouseWizard(models.TransientModel):
for result in results:
if result.pt_id.task_type == "main":
continue
new_results.append(result)
if result not in new_results:
new_results.append(result)
self.env._context = None
system_id = self.env.ref("roke_workstation_sync_ps.roke_workstation_sync_ps_integrate_system")
sync_address = system_id.sync_address
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment