From db63cecdcbf119691fb8ad1767e299087fff6035 Mon Sep 17 00:00:00 2001 From: "mayur maheshwari (Open ERP)" Date: Tue, 24 May 2011 17:34:42 +0530 Subject: [PATCH 1/2] [FIX]stock_planning_:Now edit generated Sales Forecasts in Form View By wizard lp bug: https://launchpad.net/bugs/781655 fixed bzr revid: mma@tinyerp.com-20110524120442-xcvn3e0mslp5mdfo --- addons/stock_planning/wizard/stock_planning_forecast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock_planning/wizard/stock_planning_forecast.py b/addons/stock_planning/wizard/stock_planning_forecast.py index 60b3de62243..cee44d7bd6f 100644 --- a/addons/stock_planning/wizard/stock_planning_forecast.py +++ b/addons/stock_planning/wizard/stock_planning_forecast.py @@ -102,7 +102,7 @@ class stock_sale_forecast_createlines(osv.osv_memory): return { 'domain': "[('id','in', ["+','.join(map(str, forecast_lines))+"])]", 'view_type': 'form', - "view_mode": 'tree, form', + "view_mode": 'tree,form', 'res_model': 'stock.sale.forecast', 'type': 'ir.actions.act_window', 'search_view_id': id['res_id'], From 331760830f64b9702f0f12edf1c997f646000a07 Mon Sep 17 00:00:00 2001 From: "mayur maheshwari (Open ERP)" Date: Thu, 2 Jun 2011 15:15:33 +0530 Subject: [PATCH 2/2] [FIX]stock_planning_:Now edit Sales planning lines in Form View By wizard lp bug: https://launchpad.net/bugs/781655 fixed bzr revid: mma@tinyerp.com-20110602094533-impg0p3sw69uz33i --- addons/stock_planning/wizard/stock_planning_createlines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock_planning/wizard/stock_planning_createlines.py b/addons/stock_planning/wizard/stock_planning_createlines.py index 7abb15b6e7d..d5a9a0ddc74 100644 --- a/addons/stock_planning/wizard/stock_planning_createlines.py +++ b/addons/stock_planning/wizard/stock_planning_createlines.py @@ -133,7 +133,7 @@ class stock_planning_createlines(osv.osv_memory): return { 'domain': "[('id','in', ["+','.join(map(str, planning_lines))+"])]", 'view_type': 'form', - "view_mode": 'tree, form', + "view_mode": 'tree,form', 'res_model': 'stock.planning', 'type': 'ir.actions.act_window', 'search_view_id': id['res_id'],