2 Star 0 Fork 0

oca-github/server-tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
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.

Configuration

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
/mass_sorting/static/description/1_mass_sort_config.png

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

  • Click on the button 'Add sidebar button'

Usage

  • Go to the form view of the given model, in this sample, a sale order. (or select items in a tree view)
/mass_sorting/static/description/4_before.png
  • 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.
/mass_sorting/static/description/2_button.png
  • On the pop up (depending of the configuration), change the fields and the order
/mass_sorting/static/description/3_mass_sort_wizard_custom.png

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

/mass_sorting/static/description/3_mass_sort_wizard.png
  • 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.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

Funders

The development of this module has been financially supported by:

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

Maintainer

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 https://odoo-community.org.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/oca-github/server-tools.git
git@gitee.com:oca-github/server-tools.git
oca-github
server-tools
server-tools
10.0

搜索帮助