← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 787849] [NEW] List of journals fails if more 19 journals

 

Public bug reported:

1)Creating the 20th journal generates an error when changing to list
(web client) It works in gtk-client but after a while you just can't see
the journals. It also affects anyother search of journals (for example
if you want to add a journal to a stocklocation when you want to search
for journals the same error appears.

2) Traceback (most recent call last):
  File "/home/jplevy/baazar-projects/openerp60/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/jplevy/baazar-projects/openerp60/server/bin/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/orm.py", line 1696, in search_count
    res = self.search(cr, user, args, context=context, count=True)
TypeError: search() got an unexpected keyword argument 'count'

3) The normal list view

4) Linux 10.0.4 LTS

5) OpenERP 6.0.2. Server revno: 3426; gtk-client revno: 1845; web-client
revno: 4607; addons revno: 4591; extra-addons revno: 5457

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

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/787849

Title:
  List of journals fails if more 19 journals

Status in OpenERP Modules (addons):
  New

Bug description:
  1)Creating the 20th journal generates an error when changing to list
  (web client) It works in gtk-client but after a while you just can't
  see the journals. It also affects anyother search of journals (for
  example if you want to add a journal to a stocklocation when you want
  to search for journals the same error appears.

  2) Traceback (most recent call last):
    File "/home/jplevy/baazar-projects/openerp60/server/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/jplevy/baazar-projects/openerp60/server/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/orm.py", line 1696, in search_count
      res = self.search(cr, user, args, context=context, count=True)
  TypeError: search() got an unexpected keyword argument 'count'

  3) The normal list view

  4) Linux 10.0.4 LTS

  5) OpenERP 6.0.2. Server revno: 3426; gtk-client revno: 1845; web-
  client revno: 4607; addons revno: 4591; extra-addons revno: 5457


Follow ups

References