id child of not working on search

Bug #1131992 reported by Gustavo Adrian Marino
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

Version 7, launchpad version of Feb 21, 2013

In a search with a domain [('id','child_of', <search_list>)], the SQL statement generated include a WHERE clause: id child_of <search_list>

The problem is on expression.py, where the special condition id child_of is not correctly detected

Attached a patch that corrects the problem

Revision history for this message
Gustavo Adrian Marino (gamarino) wrote :
Revision history for this message
Christophe Simonis (OpenERP) (kangol) wrote :

Thank you for the patch.
This has been fixed by commit 4954 <email address hidden>

Changed in openobject-server:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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