Friday, March 1, 2024
77 changes
Resolved issues and error corrections
This fix resolves an issue where website content branding was incorrectly shared between restricted editors and public visitors, causing branding to appear inconsistently depending on which user accessed the page first. The fix ensures that each user type receives properly branded content by including the correct cache settings in the template system.
Original PR description
When QWeb templates became cached and compiled in [1], the list of default cache key elements did not contain `inherit_branding_auto` (but it included the old `inherit_branding`). Because of this the cache was shared between restricted editors and public users, which could lead to problems such as missing the branding on edited fields. Steps to reproduce: - Use a single browser instance and do not log any user out. - Start with `website_sale`. - Make "demo" user a restricted editor and a sales administrator. - Connect on 127.0.0.1 as "demo" and go to a product website page. - Go to 127.0.0.2 as a visitor and go to the same product page. => The product name field of the visitor page was branded. If you swap the last two steps, the "demo" user's page lacks the branding. [1]: https://github.com/odoo/odoo/commit/7ede9bcb2de9d52994b3a6fcb84edc3f81d60284 task-3482439 Forward-Port-Of: odoo/odoo#155264
This update fixes a display issue in the Expense module where the status bar was overflowing and not displaying properly on mobile devices and small screens. The fix ensures that expense status information is properly formatted and readable on all device sizes, improving the mobile user experience.
Original PR description
Steps to reproduce ================== - Install Expense (hr_expense) - Use a small viewport - Go to Expense => The status bar overflows  opw-3704233 Forward-Port-Of: odoo/odoo#155972 Forward-Port-Of: odoo/odoo#154032