From 5e5de2b2b64fd8cb259e72fc1a97dc754da871ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Voet=20=28ryv=29?= Date: Mon, 24 Aug 2020 06:45:20 +0000 Subject: [IMP] (sale_)stock: review forecasted information Remove the json_forecast of the sale order line, it was a duplicate of information with the qty_at_date_widget. But improve this one: - Use the forecasted move information in case of confirmed SO. - Change the icon (i) to chart. - Link to the forcasted change to target new forcasted report (Unfortunately we loose the feature to see components product forcasted of a kit) - Change information print in the popover in case of confirmed SO. Also refactor the json_forcasted of `stock.move` into multiple fields to avoid to dump/loads for other model who needed the forcasted data. task-2324039 closes odoo/odoo#56425 Related: odoo/enterprise#13063 Signed-off-by: Arnold Moyaux --- addons/stock/static/src/xml/forecast_widget.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'addons/stock/static/src/xml/forecast_widget.xml') diff --git a/addons/stock/static/src/xml/forecast_widget.xml b/addons/stock/static/src/xml/forecast_widget.xml index 2e53943803c..2f2f14b2ec5 100644 --- a/addons/stock/static/src/xml/forecast_widget.xml +++ b/addons/stock/static/src/xml/forecast_widget.xml @@ -1,11 +1,12 @@ - - Not Available - Exp - -- cgit v1.2.3