From 3e9f516b8a2e98c264a79abac6a810d9d57dee1d Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Thu, 25 Mar 2021 12:58:12 +0000 Subject: [PATCH] [FIX] stock: Running scheduler doesn't update When running the scheduler, the informations in the inventory dashbord were not updated. opw:2486591 closes odoo/odoo#68604 X-original-commit: 0d15ee3c9c5ebf98d604c331b8c97d01ced58f49 Signed-off-by: Simon Goffin (sig) --- addons/stock/wizard/stock_scheduler_compute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/wizard/stock_scheduler_compute.py b/addons/stock/wizard/stock_scheduler_compute.py index 9c13e79b1a8..ac1793ed5bf 100644 --- a/addons/stock/wizard/stock_scheduler_compute.py +++ b/addons/stock/wizard/stock_scheduler_compute.py @@ -45,4 +45,4 @@ class StockSchedulerCompute(models.TransientModel): def procure_calculation(self): threaded_calculation = threading.Thread(target=self._procure_calculation_orderpoint, args=()) threaded_calculation.start() - return {'type': 'ir.actions.act_window_close'} + return {'type': 'ir.actions.client', 'tag': 'reload'}