From d80f3c4d5c909d4f025f9ad68863a763d0d7403f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E5=B0=A7?= Date: Thu, 21 Nov 2024 17:56:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B0=83=E6=8B=A8=E5=8D=95?= =?UTF-8?q?=E7=9A=84=E8=BF=BD=E6=BA=AF=E5=8F=82=E8=80=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_manufacturing/models/stock.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sf_manufacturing/models/stock.py b/sf_manufacturing/models/stock.py index 07ff7ee5..df47b933 100644 --- a/sf_manufacturing/models/stock.py +++ b/sf_manufacturing/models/stock.py @@ -970,10 +970,7 @@ class ReStockMove(models.Model): production = self.env['mrp.production'].search([('name', '=', self[0].origin)], limit=1, order='id asc') productions = self.env['mrp.production'].search([('origin', '=', production.origin), ('product_id', '=', production.product_id.id)]) res['origin'] = ','.join(productions.mapped('name')) - res['carrier_tracking_ref'] = production.product_id.name - return res - # 增加追踪参考 - res['carrier_tracking_ref'] = self.carrier_tracking_ref + res['retrospect_ref'] = production.product_id.name return res def _single_manufactuing_mo_generate_origin(self, res):