diff --git a/addons/board_crm_configuration/__terp__.py b/addons/board_crm_configuration/__terp__.py index 3c303ee2d1c..09bd6e25bc1 100644 --- a/addons/board_crm_configuration/__terp__.py +++ b/addons/board_crm_configuration/__terp__.py @@ -34,7 +34,7 @@ This module implements a dashboard for CRM that includes: * Jobs Tracking (graph) """, 'author': 'Tiny', - 'depends': ['board', 'crm', 'report_crm'], + 'depends': ['board', 'crm'], 'update_xml': ['board_crm_statistical_view.xml', 'board_crm_view.xml'], 'demo_xml': ['board_crm_demo.xml'], 'installable': True, diff --git a/addons/board_crm_configuration/board_crm_statistical_view.xml b/addons/board_crm_configuration/board_crm_statistical_view.xml index 8dbe05735f0..d6dd5b6d65b 100644 --- a/addons/board_crm_configuration/board_crm_statistical_view.xml +++ b/addons/board_crm_configuration/board_crm_statistical_view.xml @@ -6,7 +6,7 @@ --> Leads By Stage - Graph - report.crm.lead.section.stage + crm.lead.report graph @@ -18,11 +18,11 @@ - report.crm.opportunity.categ.graph - report.crm.opportunity.categ + crm.opportunity.report.graph + crm.opportunity.report graph - + @@ -32,14 +32,14 @@ - report.crm.lead.section.stage + crm.lead.report form graph,tree,form @@ -47,8 +47,8 @@ diff --git a/addons/board_crm_configuration/board_crm_view.xml b/addons/board_crm_configuration/board_crm_view.xml index 586a3c64baa..b111aabc2b2 100644 --- a/addons/board_crm_configuration/board_crm_view.xml +++ b/addons/board_crm_configuration/board_crm_view.xml @@ -6,8 +6,8 @@ - crm.opportunity.user.graph1 - report.crm.opportunity.user + crm.opportunity.report.graph1 + crm.opportunity.report graph @@ -41,7 +41,7 @@ id="act_my_cases"/> - report.crm.lead.section.stage + crm.lead.report form graph,tree,form @@ -49,7 +49,7 @@ - report.crm.opportunity.user + crm.opportunity.report form graph,tree,form diff --git a/addons/crm/crm.py b/addons/crm/crm.py index 1a0ba8ad950..a7b2c79759f 100644 --- a/addons/crm/crm.py +++ b/addons/crm/crm.py @@ -280,7 +280,7 @@ class crm_case(osv.osv): 'section_id': _get_section, 'company_id': lambda s,cr,uid,c: s.pool.get('res.company')._company_default_get(cr, uid, 'crm.case', context=c), } - _order = 'date_deadline desc, date desc,id desc' + _order = 'date_deadline desc, id desc' def unlink(self, cr, uid, ids, context={}): for case in self.browse(cr, uid, ids, context):