Regression: Many2One fields dont yield results if target object uses _rec_name
Bug #523762 reported by
Sharoon Thomas http://openlabs.co.in
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
High
|
Unassigned |
Bug Description
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.
Related branches
Changed in openobject-server: | |
importance: | Undecided → High |
status: | New → Confirmed |
To post a comment you must log in.
Stable or Trunk ?