v 8.0 v 9.0 Third Party 471
Download for v 8.0
Availability
Odoo Online
Odoo.sh
On Premise
Technical Name web_listview_custom_element_number
LicenseAGPL-3
Websitehttp://www.akretion.com
Versions 8.0 9.0
You bought this module and need support? Click here!

Allow users to set manually a quantity of items to display in a tree view

By default, in Odoo, user can display 80 / 200 / 500 / 2000 elements in a tree view. With that module, user can select a custom number of items to display;

Technical information

  • replace a select element by an input with datalist option. That allows to set a custom value, or to select an option. (same options as before: 80 / 200 / 500 / 2000 / unlimited);
  • WARNING: 'Datalist' is a HTML5 tag; If your browser is not HTML5 compliant, the options will not be displayed (but it is possible for user to select manually a value); See browser Support: http://www.w3schools.com/tags/tag_datalist.asp

Usage

  • Sample for res.partner model with a limit of 3:
web_listview_custom_element_number/static/src/img/screnshot_partner_limit.png

The display of the datalist input can be different depending of the browser.

  • FireFox Display:
web_listview_custom_element_number/static/src/img/screnshot_firefox.png
  • Chrome Display:
web_listview_custom_element_number/static/src/img/screnshot_chrome.png

Limits / Roadmap

  • When pressing Esc key, it could be user friendly to return to the previous state (before editing the quantity).

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 here.

Credits

Contributors

  • Sylvain LE GAL (https://twitter.com/legalsylvain)

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

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.