From c33863ed7508b31d91feade62b74ed3cc0d8da21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= <tde@openerp.com> Date: Tue, 15 Jul 2014 10:24:34 +0200 Subject: [PATCH] [FIX] crm: fixed fields defind in crm_lead_report_view for group_by. Some of them were incorrect. --- addons/crm/report/crm_lead_report_view.xml | 31 +++++++++++----------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/addons/crm/report/crm_lead_report_view.xml b/addons/crm/report/crm_lead_report_view.xml index 8882b8a1f814..221e768ed491 100644 --- a/addons/crm/report/crm_lead_report_view.xml +++ b/addons/crm/report/crm_lead_report_view.xml @@ -91,21 +91,22 @@ <field name="date_closed"/> </group> <group expand="1" string="Group By"> - <filter string="Salesperson" name="user" icon="terp-personal" - domain="[]" context="{'group_by':'user_id'}" /> - <filter string="Partner" icon="terp-partner" context="{'group_by':'partner_assigned_id'}" /> - <filter string="Country" icon="terp-go-home" context="{'group_by':'country_id'}" /> - <filter string="Sales Team" icon="terp-personal+" - domain="[]" - context="{'group_by':'section_id'}" groups="base.group_multi_salesteams"/> - <filter string="Grade" name="group_grade" icon="terp-stock_symbol-selection" - domain="[]" context="{'group_by':'grade_id'}" /> - <filter string="Stage" icon="terp-stage" domain="[]" context="{'group_by':'stage_id'}"/> - <filter string="Priority" icon="terp-rating-rated" domain="[]" context="{'group_by':'priority'}" /> - <filter string="Company" icon="terp-go-home" domain="[]" context="{'group_by':'company_id'}" /> - <filter string="Assign Date (day)" icon="terp-go-today" domain="[]" context="{'group_by':'date_assign:day'}"/> - <filter string="Assign Date (month)" icon="terp-go-month" domain="[]" context="{'group_by':'date_assign:month'}"/> - <filter string="Assign Date (year)" icon="terp-go-year" domain="[]" context="{'group_by':'date_assign:year'}"/> + <filter string="Salesperson" domain="[]" context="{'group_by':'user_id'}" /> + <filter string="Sales Team" domain="[]" context="{'group_by':'section_id'}" groups="base.group_multi_salesteams"/> + <filter string="Partner" context="{'group_by':'partner_id'}" /> + <filter string="Country" context="{'group_by':'country_id'}" /> + <filter string="Company" domain="[]" context="{'group_by':'company_id'}" groups="base.group_multi_company"/> + <filter string="Type" domain="[]" context="{'group_by':'type'}"/> + <filter string="Stage" domain="[]" context="{'group_by':'stage_id'}"/> + <filter string="Priority" domain="[]" context="{'group_by':'priority'}" /> + <separator orientation="vertical" /> + <filter string="Creation date (day)" domain="[]" context="{'group_by':'create_date:day'}"/> + <filter string="Creation date (week)" domain="[]" context="{'group_by':'create_date:week'}"/> + <filter string="Creation date (month)" domain="[]" context="{'group_by':'create_date:month'}" name="month"/> + <filter string="Creation date (year)" domain="[]" context="{'group_by':'create_date:year'}"/> + <separator orientation="vertical" /> + <filter string="Exp. Closing" domain="[]" context="{'group_by':'date_deadline'}"/> + <filter string="Last Stage Update" context="{'group_by':'date_last_stage_update'}" /> </group> </search> </field> -- GitLab