summaryrefslogtreecommitdiff
path: root/addons/project_issue/report/project_issue_report.py
diff options
context:
space:
mode:
authorYogesh (OpenERP) <ysa@tinyerp.com>2011-02-07 11:03:04 +0530
committerYogesh (OpenERP) <ysa@tinyerp.com>2011-02-07 11:03:04 +0530
commitb931b05bb902efca78fa0df363dda1ff29d5bf3a (patch)
tree73c245a170bd13f48b85440b5ce8eaa387f775ce /addons/project_issue/report/project_issue_report.py
parent64d9fddcb0068cebbfb24c517617c61a8a010bec (diff)
[IMP] replace mailgate_message to email_message in crm, fetchamil and project_issue module.
bzr revid: ysa@tinyerp.com-20110207053304-yak3ruc2os2lah7t
Diffstat (limited to 'addons/project_issue/report/project_issue_report.py')
-rw-r--r--addons/project_issue/report/project_issue_report.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/project_issue/report/project_issue_report.py b/addons/project_issue/report/project_issue_report.py
index b66963569e7..7d702b0e5f8 100644
--- a/addons/project_issue/report/project_issue_report.py
+++ b/addons/project_issue/report/project_issue_report.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
##############################################################################
-#
+#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
@@ -16,7 +16,7 @@
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
@@ -102,7 +102,7 @@ class project_issue_report(osv.osv):
date_trunc('day',c.create_date) as create_date,
extract('epoch' from (c.date_open-c.create_date))/(3600*24) as delay_open,
extract('epoch' from (c.date_closed-c.create_date))/(3600*24) as delay_close,
- (SELECT count(id) FROM mailgate_message WHERE model='project.issue' AND res_id=c.id) AS email
+ (SELECT count(id) FROM email_message WHERE model='project.issue' AND res_id=c.id) AS email
FROM
project_issue c
)""")