base_report_creator reports crash trying to filter data

Bug #900742 reported by Ana Juaristi Olalde
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 1
6.0
Fix Committed
Medium
OpenERP Publisher's Warranty Team

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

Tags: maintenance

Related branches

affects: openobject-addons → openobject-server
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Medium
status: New → Confirmed
Amit Parik (amit-parik)
affects: openobject-server → openobject-addons
Changed in openobject-addons:
assignee: OpenERP's Framework R&D (openerp-dev-framework) → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
Jigar A. (ifixthat)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Jigar A. (ifixthat) wrote :

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: <email address hidden>
   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
Revision history for this message
Ana Juaristi Olalde (ajuaristio) wrote :

Thank you Jigar:

I think the fix should also be included on 6.0 stable branch.

Thank you:

Ana

Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Ana,

For stable version, it will be backported from trunk.

If you want this now, and If you have a support and maintenance contract with us then you can contact our OPW team at <email address hidden>.

Thank you!

Revision history for this message
Ana Juaristi Olalde (ajuaristio) wrote :

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

tags: added: maintenance
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.