Wednesday, February 18, 2026
1 change · saas-19.1
Enhancements to existing features
This update simplifies how product containers are handled on the website, making it easier for developers to customize and extend the shopping experience. Previously, changes required extensive modifications, now a dedicated method allows for simpler, more flexible updates without impacting the core functionality. This enhances future compatibility and reduces maintenance efforts.
Original PR description
The product_container element may vary across modules and cannot be hardcoded. Modifying it currently requires overriding the entire add_to_cart method, which reduces flexibility and maintainability. This change extracts the product_container logic into a dedicated method, making it easier to extend and customize without duplicating the full add_to_cart implementation. This ensures better forward compatibility and modular extensibility. Enterprise PR: https://github.com/odoo/enterprise/pull/107343 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr