Commit c941c5d2 by 夏超

[fix] 大东联推送

parent 7e8945b2
......@@ -17,8 +17,7 @@ class InheritRokeResultPutWarehouseWizard(models.TransientModel):
if self.env._context.get('active_model') != "roke.production.result":
return super(InheritRokeResultPutWarehouseWizard, self).default_get(field_names)
_logger.info(f"数据: {self.env.context.get('active_ids')}: {self.env._context.get('active_ids')}")
results = self.env['roke.production.result'].browse(self.env.context.get('active_ids') or
self.env._context.get('active_ids'))
results = self.env['roke.production.result'].browse(self.env._context.get('active_ids'))
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