Search operators "parent_left" and "parent_right" do not exist

Bug #1201747 reported by Numérigraphe
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP's Framework R&D

Bug Description

In v6.0 and later, as well as in the Technical Memo, it is documented that searches can be made with the operators "parent_left" and "parent_right".
But there is no trace of those operators in expression.py, so I guess "parent_left" and "parent_right" are not valid operators.

I suggest the docstring be fixed.

Lionel Sausin.

Revision history for this message
Numérigraphe (numerigraphe) wrote :

Trival branch proposed, merges cleanly in v6.0 and current trunk, and probably all versions in between.
Lionel Sausin.

Changed in openobject-server:
status: New → Fix Committed
status: Fix Committed → New
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Wishlist
status: New → Confirmed
description: updated
Revision history for this message
Numérigraphe (numerigraphe) wrote :

In the current trunk, expression.py has a constant TERM_OPERATORS: maybe it should be the dosctring should quote that instead of my trivial patch.
Lionel Sausin.

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.