Commit 7f41f896 by 夏超

[fix] 东联同步功能优化

parent 0cb34305
......@@ -138,7 +138,7 @@ class InheritProductionTask(models.Model):
self.write({
"work_order_ids": self.change_routing_id_work_order(routing_id)
})
elif not self.routing_id.state == "确认":
elif self.routing_id.state == "确认":
routing_id = self.routing_id.copy()
routing_id.update({
"name": f"{routing_id.name}"
......
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