From 2fb715905af780c95977fe2928e1530ccae7cf4f Mon Sep 17 00:00:00 2001 From: David Beal Date: Wed, 10 Jul 2019 16:57:25 +0200 Subject: [PATCH] FIX stk_usab: mess_post() call --- stock_usability/stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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