[FIX] sale_stock: fix product forecast report from SO

Since the merge of #101247 in master, opening the forecast report
from the SO line was broken. This was due to old action being called.

closes odoo/odoo#112180

Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
This commit is contained in:
Ahmed Khalaf
2023-02-08 13:28:10 +01:00
parent 2dad4a5eea
commit 3f1589b0cc
@@ -14,7 +14,7 @@ export class QtyAtDatePopover extends Component {
}
openForecast() {
this.actionService.doAction("stock.stock_replenishment_product_product_action", {
this.actionService.doAction("stock.stock_forecasted_product_product_action", {
additionalContext: {
active_model: 'product.product',
active_id: this.props.record.data.product_id[0],