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.

0

How to override the default order of a many2many relationship?

By
GARY F WALTERS
on 2/10/15, 3:07 AM 895 views

I'm creating a custom module and have a Many2many relationship that needs to maintain order.  I added a sequence field to the associated table, but that doesn't seem to help.  I tried the many2many_sorted class found in the one2many_sorted community module, but I couldn't get it to work. 

Is there an example of getting many2many_sorted to work with v8, or is there another approach to get the many2many widget to allow ordering?

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

1 follower(s)

Stats

Asked: 2/10/15, 3:07 AM
Seen: 895 times
Last updated: 3/16/15, 8:10 AM