[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:
@@ -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'}
|
||||
|
||||
Reference in New Issue
Block a user