Files
odoo_source/addons/stock
Hubert Van de Walle (huvw) 60d6b423c3 [FIX] stock: allow the forecasted report to be accessed by it's URL
Steps to reproduce
==================

- Have at least two warehouses
- Go to products -> Acoustic Bloc Screens -> Forecast
- Switch warehouses
- Refresh the page

Cause of the issue
==================

When reloading the page, the action is restored from the router state
(the URL). This means that the context isn't restored. In that case,
`originalContextAction.active_model` won't be defined. We then try to
use `originalContextAction` as if it was a string. But in this case,
it's an object `{active_id: ...}`.

opw-3301164

closes odoo/odoo#123812

X-original-commit: 6205a3b85b6551393c9ed33d0213cff9bc693ba3
Signed-off-by: Tiffany Chang <tic@odoo.com>
Signed-off-by: Hubert Van De Walle <huvw@odoo.com>
2023-06-06 10:30:14 +02:00
..
2023-05-17 13:37:47 +02:00