diff options
| author | svs-odoo <svs@odoo.com> | 2020-10-16 07:00:30 +0000 |
|---|---|---|
| committer | svs-odoo <svs@odoo.com> | 2020-11-24 13:01:11 +0000 |
| commit | 5b07432af890794742697641a593fc649630316f (patch) | |
| tree | 6d03ebf5fc06346b7491be96b133b1a0731a77dc /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 329618e46ba32eb4a36ed709edf44e0f6d184bbd (diff) | |
[FIX] stock: refresh forecast report
Before this commit, refresh the forecast report can lead to error if
this report refer to a product variant (`product.product`).
As it lost to which model the report is supposed to refer, it take the
one by default (`product.template`) which can lead to error (display a
traceback if the ID doesn't exist or display the report for another
product if the ID exists).
How to reproduce:
Open the Forecasted Report for a `product.product` (from the stat button
or from the `sale.order.line` widget for example) then refresh the page.
task-2362313
issue #59924
closes odoo/odoo#60149
Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
