From 506c3140883a280c9f90dd34d54829cf3778bd2e Mon Sep 17 00:00:00 2001 From: Yenthe666 Date: Thu, 2 Jan 2020 16:03:16 +0000 Subject: [PATCH] [FIX] stock: fix typo in UserError closes odoo/odoo#42668 X-original-commit: e83fa9f4bd070ab14ecebe0b379e653066b2cecf Signed-off-by: Martin Trigaux (mat) --- addons/stock/i18n/stock.pot | 2 +- addons/stock/models/stock_picking.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/stock/i18n/stock.pot b/addons/stock/i18n/stock.pot index df95b104e52..b45dc03d7ed 100644 --- a/addons/stock/i18n/stock.pot +++ b/addons/stock/i18n/stock.pot @@ -7077,7 +7077,7 @@ msgstr "" #, python-format msgid "" "You cannot validate a transfer if no quantites are reserved nor done. To " -"force the transfer, switch in edit more and encode the done quantities." +"force the transfer, switch in edit mode and encode the done quantities." msgstr "" #. module: stock diff --git a/addons/stock/models/stock_picking.py b/addons/stock/models/stock_picking.py index 10d8b31dd78..9ef591aa88f 100644 --- a/addons/stock/models/stock_picking.py +++ b/addons/stock/models/stock_picking.py @@ -836,7 +836,7 @@ class Picking(models.Model): if pickings_without_moves: raise UserError(_('Please add some items to move.')) if pickings_without_quantities: - raise UserError(_('You cannot validate a transfer if no quantites are reserved nor done. To force the transfer, switch in edit more and encode the done quantities.')) + raise UserError(_('You cannot validate a transfer if no quantites are reserved nor done. To force the transfer, switch in edit mode and encode the done quantities.')) if pickings_without_lots: raise UserError(_('You need to supply a Lot/Serial number for products %s.') % ', '.join(products_without_lots.mapped('display_name'))) else: