diff --git a/addons/stock/i18n/stock.pot b/addons/stock/i18n/stock.pot index 54f037f13b7..a1787e4c5f3 100644 --- a/addons/stock/i18n/stock.pot +++ b/addons/stock/i18n/stock.pot @@ -5858,7 +5858,7 @@ msgstr "" #. odoo-python #: code:addons/stock/models/stock_picking.py:0 #, python-format -msgid "Please add 'Done' quantities to the picking to create a new pack." +msgid "There is nothing eligible to put in a pack. Either there are no quantities to put in a pack or all products are already in a pack." msgstr "" #. module: stock diff --git a/addons/stock/models/stock_picking.py b/addons/stock/models/stock_picking.py index d16ea26ff22..6496768eff9 100644 --- a/addons/stock/models/stock_picking.py +++ b/addons/stock/models/stock_picking.py @@ -1500,7 +1500,7 @@ class Picking(models.Model): self.action_assign() return self._post_put_in_pack_hook(package) return res - raise UserError(_("Please add 'Done' quantities to the picking to create a new pack.")) + raise UserError(_("There is nothing eligible to put in a pack. Either there are no quantities to put in a pack or all products are already in a pack.")) def button_scrap(self): self.ensure_one()