表面工艺外协调拨单数量问题

This commit is contained in:
胡尧
2025-05-09 17:24:24 +08:00
parent ee87e1dacf
commit 61bcd72a41

View File

@@ -903,7 +903,7 @@ class ReStockMove(models.Model):
'location_id': self.picking_id.location_id.id,
'location_dest_id': self.picking_id.location_dest_id.id,
'picking_id': self.picking_id.id,
'reserved_uom_qty': 1.0,
'reserved_uom_qty': self.product_uom_qty,
'lot_id': production_id.move_line_raw_ids.lot_id.id,
'company_id': self.env.company.id,
# 'workorder_id': '' if not sorted_workorders else sorted_workorders.id,