Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

2

Define tree view sorting directly in the XML definition?

By
Mariano Ruiz
on 12/10/13, 11:04 AM 1,210 views

I know we can define in the object with "_order", but I have a one2many field, with stock moves references, and I do not want to redefine the stock moves sort in all views, just in this tree view.

Also is ridiculous put a functional field in the model, or define a new in memory object model just for this, there must be some practical way to do this from the view definition.

I have the same problem.

Yug Faa
on 2/11/14, 6:55 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 12/10/13, 11:04 AM
Seen: 1210 times
Last updated: 3/16/15, 8:10 AM