How to order by inherited function field?
Asked by
Martin Collins
More inheritance troubles...
I have a model which inherits res.partner.
db.cursor:
If I _order by 'name', which is also in the parent, it works.
Interestingly, if I copy the 'complete_name' field and its two functions into my model I still get the same error.
I've tried to _order by a function field on a non-inherited model and it works.
Is there any way to get this working?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Martin Collins
- Solved:
- Last query:
- Last reply:
To post a message you must log in.