Commit d881dd78 by 赵言乐

revert 代码

parent 5582ad42
...@@ -23,8 +23,7 @@ class InheritRokeResultPutWarehouseWizard(models.TransientModel): ...@@ -23,8 +23,7 @@ class InheritRokeResultPutWarehouseWizard(models.TransientModel):
for result in results: for result in results:
if result.pt_id.task_type == "main": if result.pt_id.task_type == "main":
continue continue
if result not in new_results: new_results.append(result)
new_results.append(result)
self.env._context = None self.env._context = None
system_id = self.env.ref("roke_workstation_sync_ps.roke_workstation_sync_ps_integrate_system") system_id = self.env.ref("roke_workstation_sync_ps.roke_workstation_sync_ps_integrate_system")
sync_address = system_id.sync_address 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