[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) <sig@openerp.com>
This commit is contained in:
Goffin Simon
2021-03-31 14:05:26 +00:00
parent fcfc83b66c
commit 3e9f516b8a
@@ -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'}