From 854c3ceef285d8d9ec9b718938c76b99fba40267 Mon Sep 17 00:00:00 2001 From: guanhuan Date: Mon, 30 Dec 2024 13:51:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BC=98=E5=8C=96?= 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 b213a456..c68a41d6 100644 --- a/sf_manufacturing/models/mrp_production.py +++ b/sf_manufacturing/models/mrp_production.py @@ -1622,7 +1622,7 @@ class MrpProduction(models.Model): def _subcontract_sanity_check(self): for production in self: if production.product_tracking != 'none' and not self.lot_producing_id: - raise UserError(_('You must enter a serial number for %s') % production.product_id.name) + raise UserError(_('您必须为以下各%s行输入序列号') % production.product_id.name) for sml in production.move_raw_ids.move_line_ids: if sml.tracking != 'none' and not sml.lot_id: picking_ids = production.picking_ids.filtered(