← Back to team overview

openerp-expert-framework team mailing list archive

Regression : Many2One fields to objects with _rec_name

 

Hello All,

When a field is many2one and the target model of many2one uses _rec_name to
point to a field which is other than 'name', then the searches don't work

So the search return empty and all records from the remote list view are
removed.

Recreate by this:

Create a model with a field other than name and use _rec_name
Create a second model and add a many2one field to the first model and add
the field to search list by select="n"

Search from the second model and you will not be able to search.


Can you confirm this bug:
https://bugs.launchpad.net/openobject-server/+bug/523762

Regards,
-- 
Sharoon Thomas
Open Labs Business Solutions
http://www.openlabs.co.in