diff --git a/addons/crm/report/crm_opportunity_report_view.xml b/addons/crm/report/crm_opportunity_report_view.xml index a633825aa26..2c97a41a95b 100644 --- a/addons/crm/report/crm_opportunity_report_view.xml +++ b/addons/crm/report/crm_opportunity_report_view.xml @@ -150,7 +150,7 @@ Pipeline Analysis crm.opportunity.report form - pivot, graph + pivot,graph {'search_default_opportunity': True, 'search_default_current': True, 'active_test': True} Leads Analysis crm.opportunity.report form - pivot, graph + pivot,graph {'search_default_current': True, 'active_test': True} Leads Analysis crm.opportunity.report {"search_default_month":1} - pivot, graph + pivot,graph [('type', '=', 'lead'),('team_id', '=', active_id)] {'active_test': True} @@ -74,7 +74,7 @@ Pipeline Analysis crm.opportunity.report - pivot, graph + pivot,graph [('type', '=', 'opportunity'), ('team_id', '=', active_id)] {'active_test': True} diff --git a/doc/reference/actions.rst b/doc/reference/actions.rst index cd356508097..c6c63a525ff 100644 --- a/doc/reference/actions.rst +++ b/doc/reference/actions.rst @@ -101,9 +101,8 @@ In-database window actions have a few different fields which should be ignored by clients, mostly to use in composing the ``views`` list: ``view_mode`` - comma-separated list of view types (tree, form, ...) as a string. All of - these types will be present in the generated ``views`` list (with at least - a ``False`` view_id) + comma-separated list of view types as a string. All of these types will be + present in the generated ``views`` list (with at least a ``False`` view_id) ``view_ids`` M2M\ [#notquitem2m]_ to view objects, defines the initial content of ``views``