diff --git a/stock_usability/stock.py b/stock_usability/stock.py index c613cd5..9d87e61 100644 --- a/stock_usability/stock.py +++ b/stock_usability/stock.py @@ -24,7 +24,7 @@ class StockPicking(models.Model): def do_unreserve(self): res = super(StockPicking, self).do_unreserve() for pick in self: - pick.message_post(_("Picking unreserved.")) + pick.message_post(body=_("Picking unreserved.")) return res