diff options
| author | Goffin Simon <sig@odoo.com> | 2021-03-25 12:58:12 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2021-03-25 13:02:28 +0000 |
| commit | 0d15ee3c9c5ebf98d604c331b8c97d01ced58f49 (patch) | |
| tree | 3c49873ae3a67590cf694d2d9d0f4ca9686889b9 | |
| parent | 079be25a1d994fa2166c90fa52216498b1b27d37 (diff) | |
[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#68344
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
| -rw-r--r-- | addons/stock/wizard/stock_scheduler_compute.py | 2 |
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'} |
