Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
Lines of code | 354 |
Technical Name |
odoo_insert_line_position |
License | AGPL-3 |
Website | https://www.alliantum.com |
Versions | 14.0 12.0 13.0 |
Insert Lines at Certain Position
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
Installation
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.
Usage
To use this module, you need to:
- Create a new list view, and in the tree tag enter insert="1". Or just simply inherit an existing xml view with a list, and add the insert="1".
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 smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Alliantum
Contributors
- David Moreno david.moreno@alliantum.com
Other credits
The development of this module has been financially supported by:
- Alliantum (https://www.alliantum.com)
Maintainers
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.
Please log in to comment on this module