[IMP]: crm: Minor improvement in order of lead data
authorrpa (Open ERP) <rpa@tinyerp.com>
Thu, 5 Aug 2010 13:50:08 +0000 (19:20 +0530)
committerrpa (Open ERP) <rpa@tinyerp.com>
Thu, 5 Aug 2010 13:50:08 +0000 (19:20 +0530)
bzr revid: rpa@tinyerp.com-20100805135008-h4j2tgai33wv1jbn

addons/crm/crm_lead.py

index 6606dfd..2eae682 100644 (file)
@@ -40,7 +40,7 @@ class crm_lead(osv.osv, crm_case):
     """ CRM Lead Case """
     _name = "crm.lead"
     _description = "Lead"
-    _order = "priority, id desc"
+    _order = "date_action, priority, id desc"
     _inherit = ['mailgate.thread','res.partner.address']
     def _compute_day(self, cr, uid, ids, fields, args, context={}):
         """