diff --git a/addons/stock/i18n/stock.pot b/addons/stock/i18n/stock.pot index ca86061f3a6..59fab8ed4f8 100644 --- a/addons/stock/i18n/stock.pot +++ b/addons/stock/i18n/stock.pot @@ -6638,7 +6638,7 @@ msgstr "" #. module: stock #: code:addons/stock/models/stock_inventory.py:380 #, python-format -msgid "You cannot have two inventory adjustements in state 'in Progess' with the same product(%s), same location(%s), same package, same owner and same lot. Please first validatethe first inventory adjustement with this product before creating another one." +msgid "You cannot have two inventory adjustements in state 'in Progress' with the same product(%s), same location(%s), same package, same owner and same lot. Please first validatethe first inventory adjustement with this product before creating another one." msgstr "" #. module: stock diff --git a/addons/stock/models/stock_inventory.py b/addons/stock/models/stock_inventory.py index f9571724d2a..8e3452f73c2 100644 --- a/addons/stock/models/stock_inventory.py +++ b/addons/stock/models/stock_inventory.py @@ -383,7 +383,7 @@ class InventoryLine(models.Model): ('prod_lot_id', '=', values.get('prod_lot_id'))]) res = super(InventoryLine, self).create(values) if existings: - raise UserError(_("You cannot have two inventory adjustements in state 'in Progess' with the same product" + raise UserError(_("You cannot have two inventory adjustements in state 'in Progress' with the same product" "(%s), same location(%s), same package, same owner and same lot. Please first validate" "the first inventory adjustement with this product before creating another one.") % (res.product_id.name, res.location_id.name)) return res