[FIX] correctly type date field in crm_lead_report
authorGéry Debongnie <ged@odoo.com>
Fri, 25 Jul 2014 13:52:38 +0000 (15:52 +0200)
committerOlivier Dony <odo@openerp.com>
Wed, 30 Jul 2014 13:11:22 +0000 (15:11 +0200)
commit6f563d6284e397cb23aa060a548b4af765c4c97f
treeafdc372c7280265de9b4b9232aabedd73f98d104
parentafb19c59ee523c5150802a7591e7d92b8343cc3d
[FIX] correctly type date field in crm_lead_report

opening_date and date_closed were cast to char but are supposed to be
dates.  When you try to group crm_lead_report by one of them, postgres
was not happy.  Now, it properly tells postgres that they are of type
date.
addons/crm/report/crm_lead_report.py