From f084b5d7657f8352222cb3d327a10da8b9db4308 Mon Sep 17 00:00:00 2001 From: guanhuan Date: Mon, 30 Dec 2024 14:12:54 +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 c68a41d6..0e431347 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(_('您必须为以下各%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(