Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Sort any models by any fields list

Project description

License: AGPL-3

Mass Sorting

This module extends the functionality of odoo to allow users to sort an one2many fields in any model.

Typically, you can sort sale order lines on a sale order, using any fields.


To configure this module, you need to:

  • Go to Settings / Technical / Mass Sorting
  • Create a new item and define:
    • a name
    • the model you want to sort
    • the field of the model, you want to sort
    • The lists of the fields, by which the sort will be done

(You can allow users to change or not the values, by checking ‘Allow custom Setting’)

  • Click on the button ‘Add sidebar button’


  • Go to the form view of the given model, in this sample, a sale order. (or select items in a tree view)
  • click on the button ‘Action’ and then select the according action. If you just created your action, please refresh the page to see the new action appear.
  • On the pop up (depending of the configuration), change the fields and the order

(If changing configuration is not allowed, a simple message is displayed.)

  • The items will be reordered.
/mass_sorting/static/description/5_after.png Try me on Runbot

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback.



  • Odoo Community Association: Icon.



The development of this module has been financially supported by:

This module is highly inspired by ‘mass_editing’ module. (by OCA and SerpentCS)


Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for odoo8-addon-mass-sorting, version
Filename, size File type Python version Upload date Hashes
Filename, size odoo8_addon_mass_sorting- (202.9 kB) File type Wheel Python version py2 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page