problems with _inherits

Bug #594460 reported by Husen Daudi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

1> If we have _inherits for some object and we have parent_id field in main object, domain like [('parent_id','child_of',ids)] not working.
2> If we use many2one for _inherits object it is not displaying name field. we are getting id of the object.

Example:
We have project _inherits from analytic account.
in analytic account parent_id field is there and on project when I search with domain [('parent_id','child_of',ids)] it is returning blank list. it should return ids at least as per child_of functionality.

Revision history for this message
Husen Daudi (husendaudi) wrote :

one more problem
_inherits={object, field_name}

when we search on object with field_name its not working with search method.
we have to write sql query to search on it.

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.