Commit 81bd4841 by 夏超

[fix] 东联问题

parent ad2983c3
......@@ -68,7 +68,7 @@ class InheritRokeResultPutWarehouseWizard(models.TransientModel):
insert_sql_data = []
_uuid = uuid.uuid1()
for v in new_results:
if v.id in insert_id:
if f"'{v.id}'" in insert_id:
continue
insert_sql_data.append(f"""
('{_uuid}', '{v.product_id.code}', '{v.wo_id.code}', {v.qty or 0}, {v.id}, '{v.pt_id.code}', '{v.pt_id.task_type}',
......
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