← Back to team overview

credativ team mailing list archive

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

 

Hello Ana Juaristi Olalde,

     It was good problem noticed by you and we have traced the issue, and fixed the issue, which now supports multi level model report with filter and  multi model fields in search view on Custom report.  Issue has been fixed in :
    -  Branch : lp:~openerp-dev/openobject-addons/trunk-bug-900742-jam
    -  At Revision No# 5961
    -   At Revision ID: jam@xxxxxxxxxxx-20111213104650-1n83dz95po3ps0ex
   and Have proposed it for merging Addons trunk branch (lp:openobject-addons).

Thank a lot for you Kind Support.


** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
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/900742

Title:
  base_report_creator reports crash trying to filter data

Status in OpenERP Addons (modules):
  Fix Committed

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