Friday, November 7, 2025
3 changes · 18.0
Enhancements to existing features
Odoo now automatically shortens product names and descriptions so they meet Indian e-invoicing and e-waybill character limits. This helps prevent document generation issues and reduces the risk of rejected submissions to the authorities.
Original PR description
Product descriptions in invoice lines must comply with character limits: - E-invoicing: maximum 300 characters - E-waybill: maximum 100 characters for both product names and descriptions Descriptions exceeding these limits are automatically truncated in the generated JSON. Task [link](https://www.odoo.com/odoo/project.task/5061450) task-5061450 Forward-Port-Of: odoo/odoo#228548
This change prevents message tracking from failing when related records do not have a display name. Instead of crashing, the system now falls back to a default label, improving reliability for users working with one-to-many and many-to-many fields.
Original PR description
Description of the issue/feature this PR addresses: Addresses: https://github.com/odoo/odoo/issues/178883 Same issue is also in 18.0. Is there a separate PR necessary or will this be ported forward? Current behavior before PR: An error is displayed when tracking is activated on one2many and many2many with records without display_name. Desired behavior after PR is merged: Should not crash and use fallback like in other cases. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change speeds up stock move validation by avoiding repeated calculations of the same destination location details for every move line. It reduces processing time for large movements, which means quicker warehouse operations and less waiting during high-volume tasks.
Original PR description
Previously when validating a movement with a location that is used in a rule, move_dest_ids was set which led to it going to check the putaway strategy. The bottleneck was the computation of the computed field child_internal_location_ids which is the same across all smls. This PR utilizes the fact that the smls in the same stock_move would have the same destination location and by proxy the same child_internal_location_ids Speed up: 1000 stock move lines: Before: 2 mins After: 1 mins --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#210142