Skip to Content
Menu

Lazy Information

by
Odoo

13.01

v 13.0 Third Party 2
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 177
Technical Name lazy_information
LicenseLGPL-3
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 177
Technical Name lazy_information
LicenseLGPL-3

Key Features

This module enhances the performance of Odoo forms by introducing a dynamic loading mechanism for individual pages within a form. Typically, Odoo loads all the data across all pages when a form is opened, which can significantly increase load times, especially when external APIs are involved.

The module creates a new node type that ensures data is only loaded and rendered when a specific page is selected. This reduces the initial form load time and improves the overall user experience. Additionally, the module allows flexible customization of the display using QWeb templates, providing full control over how and when the data is presented.

  • Improves form load times by loading data on-demand.
  • Efficient handling of external API calls by deferring them until necessary.
  • Supports custom QWeb templates for flexible and dynamic content rendering.

This solution is particularly useful for forms with multiple tabs/pages that require heavy data processing or API integrations.

Review

Data is only loaded when the user clicks on the page with lazy loading.

After the data is loaded, the QWeb template will be rendered with the retrieved data.

In case of an error during data retrieval, an error message will be returned.

Note

The example above has been disabled in the source code to prevent errors during installation. If you have a simple and clear example, you should enable it in the following files: __manifest__.py and __init__.py within the models folder. Please refer to the README.md file for more details. If you need further assistance or have any questions, feel free to contact me. I am always available to help if you need it.

Contact Information

Name: Pham Van Thang

Phone: 0364.682.862 (Telegram/Zalo)

Email: pvthang1609@gmail.com

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 or have a question related to your purchase, please use the support page.