From 7c260453779338f5f6d846e8209e08047ce826ac Mon Sep 17 00:00:00 2001 From: liaodanlong Date: Wed, 23 Apr 2025 09:12:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E8=89=BA=E7=A1=AE=E8=AE=A4=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_manufacturing/models/mrp_production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sf_manufacturing/models/mrp_production.py b/sf_manufacturing/models/mrp_production.py index 4446fa8d..5fa3fcab 100644 --- a/sf_manufacturing/models/mrp_production.py +++ b/sf_manufacturing/models/mrp_production.py @@ -925,7 +925,7 @@ class MrpProduction(models.Model): "is_subcontract":True, }) self[0].bom_id.bom_line_ids.product_id.route_ids = [(4,self.env.ref( - 'sf_stock.stock_location_outsourcing_material_receiving_area').id)] + 'sf_stock.stock_route_process_outsourcing').id)] for product_id, request_line_list in grouped_purchase_request_line_sorted_list.items(): cur_request_line = request_line_list[0] cur_request_line['product_qty'] = len(request_line_list)