← Back to team overview

openerp-india team mailing list archive

[Bug 900742] Re: base_report_creator reports crash trying to filter data

 

Hi Amit:

Thank you. I have applied directly the patch on 6.0 files and now... a new issue appairs.
The error is not shown but if you try to filter for any field, no data is shown even if there is several entries that matches with the criterium included on filter.
I will try again installing directly the 6.1 module version on 6.0 and I will let you know. 

Thank you:

Ana

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

Title:
  base_report_creator reports crash trying to filter data

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  HI:

  Installed base_report_creator.
  Created a very simple report with partner name and phone. 
  Executed the report
  Trying to filter data on tree by name or phone, I obtain  this error

  
  Environment Information : 
  System : Windows-32bit
  OS Name : nt
  Operating System Release : 
  Operating System Version : 32bit
  Operating System Architecture : 32bit
  Operating System Locale : es_ES.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0.2
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base_report_creator/base_report_creator.py", line 208, in search
      newargs += res[0]
  TypeError: 'Query' object does not support indexing

  Thank you:

  Ana

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


References