diff --git a/addons/google_drive/static/src/js/gdrive.js b/addons/google_drive/static/src/js/gdrive.js index dbbe50d0794..98324c1c288 100644 --- a/addons/google_drive/static/src/js/gdrive.js +++ b/addons/google_drive/static/src/js/gdrive.js @@ -9,7 +9,7 @@ openerp.google_drive = function (instance, m) { this._super.apply(this, arguments); var view = self.getParent(); var result; - if (view.fields_view.type == "form") { + if (view.fields_view && view.fields_view.type == "form") { ids = [] view.on("load_record", self, function (r) { ids = [r.id] diff --git a/addons/im_livechat/report/im_livechat_report.xml b/addons/im_livechat/report/im_livechat_report.xml index bc8d8df8694..dcf820405f5 100644 --- a/addons/im_livechat/report/im_livechat_report.xml +++ b/addons/im_livechat/report/im_livechat_report.xml @@ -2,15 +2,26 @@ + + im_livechat.report.pivot + im_livechat.report + + + + + + + + + + im_livechat.report.graph im_livechat.report - - - + + - @@ -42,8 +53,7 @@ Livechat Support Report im_livechat.report form - graph - + pivot,graph Livechat Support Analysis allows you to easily check and analyse your company livechat session performance. Extract informations about the missed sessions, the audiance, the duration of a session, etc. diff --git a/addons/marketing_campaign/report/campaign_analysis_view.xml b/addons/marketing_campaign/report/campaign_analysis_view.xml index 43a43c7e7ce..47b0e26e31b 100644 --- a/addons/marketing_campaign/report/campaign_analysis_view.xml +++ b/addons/marketing_campaign/report/campaign_analysis_view.xml @@ -2,13 +2,24 @@ + + campaign.analysis.pivot + campaign.analysis + + + + + + + + campaign.analysis.graph campaign.analysis - - - + + + @@ -66,7 +77,7 @@ Campaign Analysis campaign.analysis form - graph,tree + pivot,graph,tree {'group_by': [], 'group_by_no_leaf':1} diff --git a/addons/mass_mailing/views/mass_mailing_report.xml b/addons/mass_mailing/views/mass_mailing_report.xml index e52a6f7e0a2..ba243273a20 100644 --- a/addons/mass_mailing/views/mass_mailing_report.xml +++ b/addons/mass_mailing/views/mass_mailing_report.xml @@ -2,17 +2,28 @@ - - mail.statistics.report.graph + + mail.statistics.report.pivot mail.statistics.report - + + + + + + + mail.statistics.report.graph + mail.statistics.report + + + + @@ -45,14 +56,9 @@ Mass Mailing Analysis mail.statistics.report form - graph + pivot,graph Mass Mailing Statistics allows you to check different mailing related information like number of bounced mails, opened mails, replied mails. You can sort out your analysis by different groups to get accurate grained analysis. - - graph - - - diff --git a/addons/membership/report/report_membership_view.xml b/addons/membership/report/report_membership_view.xml index ca4f786e11c..b2b41c434fb 100644 --- a/addons/membership/report/report_membership_view.xml +++ b/addons/membership/report/report_membership_view.xml @@ -30,17 +30,29 @@ - - report.membership.graph1 + + report.membership.pivot report.membership - + + + + + + + report.membership.graph1 + report.membership + + + + + @@ -49,7 +61,7 @@ Members Analysis report.membership form - graph + pivot,graph {"search_default_start_date":1,"search_default_member":1, 'search_default_Revenue':1, 'search_default_this_month':1, 'search_default_salesman':1,'group_by_no_leaf':1} diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index 79ac6eb1321..3f01be4cbd0 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -641,14 +641,26 @@ + + mrp.production.pivot + mrp.production + + + + + + + + + mrp.production.graph mrp.production - + - - + + @@ -858,7 +870,7 @@ ir.actions.act_window mrp.production form - tree,form,calendar,graph,gantt + tree,form,calendar,pivot,graph,gantt {} @@ -883,7 +895,7 @@ ir.actions.act_window mrp.production form - calendar,tree,form,graph + calendar,tree,form,pivot,graph [('state','in',('ready','confirmed','in_production'))]

diff --git a/addons/mrp_operations/report/mrp_workorder_analysis_view.xml b/addons/mrp_operations/report/mrp_workorder_analysis_view.xml index da41d9e2b18..6d86a544c06 100644 --- a/addons/mrp_operations/report/mrp_workorder_analysis_view.xml +++ b/addons/mrp_operations/report/mrp_workorder_analysis_view.xml @@ -4,16 +4,28 @@ - - mrp.workorder.graph + + mrp.workorder.pivot mrp.workorder - + + + + + + + mrp.workorder.graph + mrp.workorder + + + + + @@ -66,17 +78,9 @@ Work Order mrp.workorder form - graph - + pivot,graph - {'search_default_Workcenter': 1,'group_by_no_leaf':1,'group_by':[]} - - - - - graph - - + {'search_default_Workcenter': 1} diff --git a/addons/point_of_sale/report/pos_order_report_view.xml b/addons/point_of_sale/report/pos_order_report_view.xml index d2b4774c138..21eaafb28c6 100644 --- a/addons/point_of_sale/report/pos_order_report_view.xml +++ b/addons/point_of_sale/report/pos_order_report_view.xml @@ -1,14 +1,25 @@ + + report.pos.order.pivot + report.pos.order + + + + + + + + + + report.pos.order.graph report.pos.order - + - - @@ -45,7 +56,7 @@ Orders Analysis report.pos.order form - graph + pivot,graph {'group_by_no_leaf':1,'group_by':[]} diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml index 8ff9e63453d..6e391bd6a00 100644 --- a/addons/purchase/purchase_view.xml +++ b/addons/purchase/purchase_view.xml @@ -90,7 +90,7 @@ On Draft Invoices account.invoice form - tree,form,calendar,graph + tree,form,calendar,pivot,graph [('type','=','in_invoice')] {'default_type':'in_invoice', 'type':'in_invoice', 'journal_type': 'purchase', 'search_default_draft': 1} @@ -163,13 +163,23 @@ + + purchase.order.pivot + purchase.order + + + + + + + purchase.order.graph purchase.order - + - + @@ -363,7 +373,7 @@ purchase.order {} [('state','in',('draft','sent','bid','cancel', 'confirmed'))] - tree,form,graph,calendar + tree,form,pivot,graph,calendar

@@ -386,7 +396,7 @@ Purchase Orders ir.actions.act_window purchase.order - tree,form,graph,calendar + tree,form,pivot,graph,calendar {} [('state','not in',('draft','sent','bid', 'confirmed'))] diff --git a/addons/purchase/report/purchase_report_view.xml b/addons/purchase/report/purchase_report_view.xml index c60e3d62d2a..81444eca865 100644 --- a/addons/purchase/report/purchase_report_view.xml +++ b/addons/purchase/report/purchase_report_view.xml @@ -1,16 +1,27 @@ - - product.month.graph + + product.month.pivot purchase.report - + + + + + + product.month.graph + purchase.report + + + + + @@ -77,9 +88,8 @@ Purchase Analysis purchase.report form - graph - - {'search_default_orders': 1, 'group_by_no_leaf':1,'group_by':[]} + pivot,graph + {'search_default_orders': 1} Purchase Analysis allows you to easily check and analyse your company purchase history and performance. From this menu you can track your negotiation performance, the delivery performance of your suppliers, etc. diff --git a/addons/sale/report/sale_report_view.xml b/addons/sale/report/sale_report_view.xml index 92e8aaa8caf..708a4d32ff3 100644 --- a/addons/sale/report/sale_report_view.xml +++ b/addons/sale/report/sale_report_view.xml @@ -2,13 +2,24 @@ + + sale.report.pivot + sale.report + + + + + + + + + sale.report.graph sale.report - + - @@ -78,9 +89,8 @@ Sales Analysis sale.report form - graph + pivot,graph - {'search_default_Sales':1, 'group_by_no_leaf':1,'group_by':[]} This report performs analysis on your quotations and sales orders. Analysis check your sales revenues and sort it by different group criteria (salesman, partner, product, etc.) Use this report to perform analysis on sales not having invoiced yet. If you want to analyse your turnover, you should use the Invoice Analysis report in the Accounting application. diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index f48e56c53a1..47545de715c 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -34,12 +34,22 @@ sale.order.graph sale.order - - + + + + sale.order.pivot + sale.order + + + + + + + sale.order.tree @@ -281,7 +291,7 @@ ir.actions.act_window sale.order form - tree,form,calendar,graph + tree,form,calendar,pivot,graph {} [('state', 'not in', ('draft', 'sent', 'cancel'))] @@ -326,7 +336,7 @@ sale.order form - tree,form,calendar,graph + tree,form,calendar,pivot,graph {} [('state','in',('draft','sent','cancel'))] diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index 33f9c57873f..9447f35e613 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -911,12 +911,24 @@ + + stock.move.pivot + stock.move + + + + + + + + + stock.move.graph stock.move - - + + @@ -1170,11 +1182,18 @@ + + + pivot + + + + graph - + diff --git a/addons/stock_account/wizard/stock_valuation_history_view.xml b/addons/stock_account/wizard/stock_valuation_history_view.xml index f01d1d5035e..5ca5fa4dc5d 100644 --- a/addons/stock_account/wizard/stock_valuation_history_view.xml +++ b/addons/stock_account/wizard/stock_valuation_history_view.xml @@ -32,7 +32,7 @@ Stock Valuation wizard.valuation.history form - tree,form + form new @@ -54,15 +54,25 @@ + + stock.history.value.pivot + stock.history + + + + + + + + stock.history.value.graph stock.history - - - + + + - @@ -91,7 +101,7 @@ ir.actions.act_window [('date','<=',time.strftime('%Y-%m-%d %H:%M:%S'))] form - tree,graph + tree,pivot,graph