Odoo Help


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.


Tree view: Drag & Drop not possible after sorting columns

Renzo Meister
on 10/12/15, 4:17 PM 612 views

In a fresh odoo installation with demo data I have this strange behaviour:

  • On a sales order, click edit

  • The order lines can be moved and reordered via drag and drop (by clicking on the small dot on the left side). See picture 1:

  • Now, sort the table by clicking on a column header, for example 'price' as shown in picture 2:

  • Now, drag & drop does not work anymore.

  • Clicking 'save' and 'edit' again does not help.

  • After reloading the page (ctrl-R), drag & drop works again.

A first short analysis shows, that the sort handler of the table somehow takes away the CSS classes needed for drag and drop (ui_sorting) from the table body. Before diving deeper, hopefully someone can explain this. Or is this behaviour wanted?

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)


Asked: 10/12/15, 4:17 PM
Seen: 612 times
Last updated: 10/12/15, 4:17 PM