提示优化
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user