Kuldeep Joshi(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-901617-kjo into 
lp:openobject-addons.

Requested reviews:
  Bhumika (OpenERP) (sbh-openerp)
Related bugs:
  Bug #901617 in OpenERP Addons: "Task : in reporting Cumulative Flow's list 
view is not working"
  https://bugs.launchpad.net/openobject-addons/+bug/901617

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-901617-kjo/+merge/85296

Change the data type of the id field of project_task_history object
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-901617-kjo/+merge/85296
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-901617-kjo.
=== modified file 'project/project.py'
--- project/project.py	2011-12-03 14:04:27 +0000
+++ project/project.py	2011-12-12 08:35:28 +0000
@@ -21,6 +21,7 @@
 
 from lxml import etree
 import time
+import tools
 from datetime import datetime, date
 
 from tools.translate import _
@@ -1176,9 +1177,10 @@
         'project_id': fields.related('task_id', 'project_id', string='Project', type='many2one', relation='project.project')
     }
     def init(self, cr):
+        tools.drop_view_if_exists(cr, 'project_task_history_cumulative')
         cr.execute(""" CREATE OR REPLACE VIEW project_task_history_cumulative AS (
-            SELECT
-                history.date::varchar||'-'||history.history_id::varchar as id,
+             SELECT
+                history.history_id::integer as id,
                 history.date as end_date,
                 *
             FROM (

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to