← Back to team overview

credativ team mailing list archive

[Bug 901617] [NEW] Task : in reporting Cumulative Flow's list view is not working

 

Public bug reported:

Project > Reporting > Tasks > Cumulative Flow

Task's Report : in Cumulative Flow when i tried to switch graph view to
list view i got following Traceback


Traceback (most recent call last):
  File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 3345, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 3468, in _read_flat
    res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
  File "/home/han/rdtool/server/trunk/openerp/osv/fields.py", line 1034, in get
    result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
  File "/home/han/rdtool/server/trunk/openerp/osv/fields.py", line 1118, in _fnct_read
    objlst = obj.browse(cr, 1, ids, context=context)
  File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 4191, in browse
    return self._list_class([browse_record(cr, uid, id, self, cache, context=context, list_class=self._list_class, fields_process=fields_process) for id in select], context=context)
  File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 339, in __init__
    raise BrowseRecordError(_('Wrong ID for the browse record, got %r, expected an integer.') % (id,))
BrowseRecordError: Wrong ID for the browse record, got u'2011-12-08-1', expected an integer.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/901617

Title:
  Task : in reporting Cumulative Flow's list view is not working

Status in OpenERP Addons (modules):
  New

Bug description:
  Project > Reporting > Tasks > Cumulative Flow

  Task's Report : in Cumulative Flow when i tried to switch graph view
  to list view i got following Traceback

  
  Traceback (most recent call last):
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 3345, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 3468, in _read_flat
      res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
    File "/home/han/rdtool/server/trunk/openerp/osv/fields.py", line 1034, in get
      result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
    File "/home/han/rdtool/server/trunk/openerp/osv/fields.py", line 1118, in _fnct_read
      objlst = obj.browse(cr, 1, ids, context=context)
    File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 4191, in browse
      return self._list_class([browse_record(cr, uid, id, self, cache, context=context, list_class=self._list_class, fields_process=fields_process) for id in select], context=context)
    File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 339, in __init__
      raise BrowseRecordError(_('Wrong ID for the browse record, got %r, expected an integer.') % (id,))
  BrowseRecordError: Wrong ID for the browse record, got u'2011-12-08-1', expected an integer.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/901617/+subscriptions


Follow ups

References