This module allows you to insert lines at any position in your list views.
By default in Odoo, you get two options about where you prefer to enter
new records in your list views. The option is available in tree
views as the attribute editable
, and values are bottom
or
top
. However, what if in some cases you would like to enter a
specific line at a concrete position in your list, maybe your list is
huge, and even have multiple pages and make it very complicated or
impossible to create your new line, and move it (just when a handler for
sequences is available) to your desired position.
For cases like this, with this module you will have a new attribute
available for your tree
views! The new attribute is insert
, and
the value for it is a boolean.
Table of contents
This is a technical module. It’s intended to be used by developers, or at least, by people with a basic understanding of how xml views are declared in Odoo.
To start using it, just move it to your addons folder, and install the module.
To use this module, you need to:
- Create a new list view, and in the
tree
tag enterinsert="1"
. Or just simply inherit an existing xml view with a list, and add theinsert="1"
.
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 smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
- Alliantum
- David Moreno david.moreno@alliantum.com
- Aitor Rosell Torralba aitor.rosell@alliantum.com
The development of this module has been financially supported by:
- Alliantum (https://www.alliantum.com)
This module is maintained by Alliantum.
Alliantum, is a company whose mission is to support the widespread use of Odoo by others companies, and collaborate in the development of new Odoo features.
This module is part of the Alliantum/odoo_public_modules project on GitHub.
You are welcome to contribute. To learn how please visit https://github.com/Alliantum/odoo_public_modules.