OdooWiki OCA HUB

Fix translation loading

web_fix_modules_load folder_open OCA/web open_in_new
Hidden License: AGPL-3

Odoo loads translations and module info using their names. When you have a lot of modules installed (eg: 500+) this can lead to very big GET requests (more than 12k) which, in most of the cases, will be blocked by the web server (eg: nginx) because they are too big.

This module tries to fix this by using modules' ids instead of names reducing dramatically the size of such requests.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

This hidden technical module changes how Odoo loads translations and module assets in the browser, using module IDs instead of long module names to keep requests small when many modules are installed.

When many modules are installed, Odoo's web client asks the server for translations and assets by sending the full list of module names. That list can become very long and may be rejected by web servers such as nginx. This module changes that behaviour so the browser sends short numeric module IDs instead of names.

  • The web client session is modified so that translation, QWeb template, CSS and JavaScript requests use module IDs.
  • The server side converts those IDs back to module names before processing, so the rest of Odoo keeps working normally.
  • A small piece of information mapping module names to their IDs is added to the backend page, so the browser knows which ID belongs to which module.
  • The translation loading method on ir.translation is extended to accept either IDs or names.
  • The module info method on ir.module.module is extended to return the name-to-ID mapping used by the browser.

This module does not add menus, buttons or reports. It is a hidden technical fix that touches the web client session, the ir.translation and ir.module.module models, and the backend and common asset templates. Users will not see new screens; they benefit indirectly because the web interface keeps loading correctly on installations with hundreds of modules.

Depends on

web
Models and fields (1)
  • ir.translation · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.