@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user