Daily updates from Odoo
Saturday, April 4, 2026
4 changes
1 change
Enhancements to existing features
This update improves how the system handles errors when email templates fail to render. Instead of logging massive amounts of template code, the system now shows just the essential information (template name and a small snippet of the problematic code), making it much easier for support teams and administrators to identify and fix issues without cluttering server logs.
Original PR description
This is mainly a backport of an IMP done at https://github.com/odoo/odoo/pull/252455 Given it's potential to reduce server bloat and increase of QOL for sys admins and support agents, backporting (a…
This is mainly a backport of an IMP done at https://github.com/odoo/odoo/pull/252455 Given it's potential to reduce server bloat and increase of QOL for sys admins and support agents, backporting (a sligthly modified version) seemed adequate. Summary: When a QWeb template fails to render, the current logic logs the entire template source and raises a generic UserError. This leads to significant log bloat and makes it difficult for developers and support staff to identify the specific failing template or the root cause of the error. This commit improves the error handling in `mail.render.mixin` and `mail.template` by: - mail.render.mixin: Added logic to identify the failing template's name and ID if it belongs to a `mail.template` or `mail.compose.message` (mass mailing). - Log Truncation: Implemented truncation for identified templates, showing only a snippet (first and last 500 chars) in logs and UserErrors to prevent log/UI bloat while keeping full source logging as a fallback for unidentified templates. OPW-5980295 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#257359 Forward-Port-Of: odoo/odoo#257104
1 change
Enhancements to existing features
This update optimizes the installation process for the l10n_jo_edi module by preventing unnecessary calculations during initial setup. Specifically, a new column was added to the database to store a unique identifier, reducing installation time, especially for systems with many existing records. This improves overall Odoo performance.
Original PR description
This commit ensures that the computed and stored field `l10n_jo_edi_uuid` of account_move model gets column created at l10n_jo_edi module installation. This ensures that the computation of the field does not trigger on module installation, potentially leading to too slow installation if the DB has many account_move records. task-6095204 Forward-Port-Of: odoo/odoo#257658
1 change
Enhancements to existing features
This update optimizes the installation process for the l10n_jo_edi module by preventing unnecessary calculations during initial setup. Specifically, a new column has been added to the database to store a unique identifier, speeding up the module's installation time, especially in systems with many existing records.
Original PR description
This commit ensures that the computed and stored field `l10n_jo_edi_uuid` of account_move model gets column created at l10n_jo_edi module installation. This ensures that the computation of the field does not trigger on module installation, potentially leading to too slow installation if the DB has many account_move records. task-6095204 Forward-Port-Of: odoo/odoo#257658
1 change
Enhancements to existing features
This update improves the installation speed of the Jordan EDI module by pre-creating a database column during setup instead of computing it afterward. This prevents slow installation times when the system has many invoices, making the module deployment faster and more efficient.
Original PR description
This commit ensures that the computed and stored field `l10n_jo_edi_uuid` of account_move model gets column created at l10n_jo_edi module installation. This ensures that the computation of the field does not trigger on module installation, potentially leading to too slow installation if the DB has many account_move records. task-6095204