Insert Lines at Certain Position

by
Odoo
v 14.0 Third Party 80
Download for v 14.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Invoicing (account)
Lines of code 354
Technical Name odoo_insert_line_position
LicenseAGPL-3
Websitehttps://www.alliantum.com
Versions 14.0 12.0 13.0
You bought this module and need support? Click here!
Alliantum

Insert Lines at Certain Position

Beta License: AGPL-3 Alliantum/odoo_insert_line_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".
Alliantum

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

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

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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.