← Back to team overview

openerp-india team mailing list archive

[Bug 1131992] [NEW] id child of not working on search

 

Public bug reported:

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

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

** Patch added: "diff.txt"
   https://bugs.launchpad.net/bugs/1131992/+attachment/3542534/+files/diff.txt

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

Title:
  id child of not working on search

Status in OpenERP Server:
  New

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

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


Follow ups

References