You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
2.9 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
  3. :alt: License: AGPL-3
  4. ============
  5. Mass Sorting
  6. ============
  7. This module extends the functionality of odoo to allow users to sort an
  8. one2many fields in any model.
  9. Typically, you can sort sale order lines on a sale order, using any fields.
  10. Configuration
  11. =============
  12. To configure this module, you need to:
  13. * Go to Settings / Technical / Mass Sorting
  14. * Create a new item and define:
  15. * a name
  16. * the model you want to sort
  17. * the field of the model, you want to sort
  18. * The lists of the fields, by which the sort will be done
  19. .. image:: /mass_sorting/static/description/1_mass_sort_config.png
  20. :width: 70%
  21. (You can allow users to change or not the values, by checking 'Allow custom Setting')
  22. * Click on the button 'Add sidebar button'
  23. Usage
  24. =====
  25. * Go to the form view of the given model, in this sample, a sale order. (or select items in a tree view)
  26. .. image:: /mass_sorting/static/description/4_before.png
  27. * click on the button 'Action' and then select the according action.
  28. If you just created your action, please refresh the page
  29. to see the new action appear.
  30. .. image:: /mass_sorting/static/description/2_button.png
  31. * On the pop up (depending of the configuration), change the fields and the order
  32. .. image:: /mass_sorting/static/description/3_mass_sort_wizard_custom.png
  33. (If changing configuration is not allowed, a simple message is displayed.)
  34. .. image:: /mass_sorting/static/description/3_mass_sort_wizard.png
  35. * The items will be reordered.
  36. .. image:: /mass_sorting/static/description/5_after.png
  37. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  38. :alt: Try me on Runbot
  39. :target: https://runbot.odoo-community.org/runbot/149/10.0
  40. Bug Tracker
  41. ===========
  42. Bugs are tracked on `GitHub Issues
  43. <https://github.com/OCA/server-tools/issues>`_. In case of trouble, please
  44. check there if your issue has already been reported. If you spotted it first,
  45. help us smash it by providing detailed and welcomed feedback.
  46. Credits
  47. =======
  48. Images
  49. ------
  50. * Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
  51. Contributors
  52. ------------
  53. * Sylvain LE GAL (https://twitter.com/legalsylvain)
  54. Funders
  55. -------
  56. The development of this module has been financially supported by:
  57. * GRAP (http://www.grap.coop)
  58. This module is highly inspired by 'mass_editing' module. (by OCA and SerpentCS)
  59. Maintainer
  60. ----------
  61. .. image:: https://odoo-community.org/logo.png
  62. :alt: Odoo Community Association
  63. :target: https://odoo-community.org
  64. This module is maintained by the OCA.
  65. OCA, or the Odoo Community Association, is a nonprofit organization whose
  66. mission is to support the collaborative development of Odoo features and
  67. promote its widespread use.
  68. To contribute to this module, please visit https://odoo-community.org.