summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/stock/wizard/stock_scheduler_compute.py2
1 files changed, 1 insertions, 1 deletions
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'}