Monday, February 12, 2024
2 changes · 17.0
Resolved issues and error corrections
The website editor no longer shows a "Fold Tickets Details" option on event registration pages because that setting no longer has any effect. This avoids confusion for website editors and keeps the customization menu aligned with the current ticket registration flow.
Original PR description
__Current behavior before commit:__ In [`4a890e1`][1] the view `website_event.fold_register_details` has been removed and the tickets details are now display only through a modal. However the toggle in the website editor had not been removed so it doesn't do anything when clicking on it. __Description of the fix:__ Remove the toggle from the website editor. __Steps to reproduce the issue on runbot:__ 1. Go to an event registration page such as `/event/openwood-collection-online-reveal-8/register` 2. Edit > CUSTOMIZE > Fold Tickets Details 3. Nothing is modified opw-3721926 [1]: https://github.com/odoo/odoo/commit/4a890e1f92a665dd53f17ee57b4e7792c33da7db
A test step that was checking Bootstrap's internal behavior has been removed because it was unreliable and inconsistent across different computers and browsers. This cleanup ensures the test suite only validates the company's own code, not third-party library internals.
Original PR description
In #48767, we introduced the collapsing of a certain side panel feature relying on Bootstrap. Bootstrap apparenty has an internal "popote" to make the target node fold and unfold and one of our tests actually tests against this internal popote. Unfortunately, the test is not reliable and from a computer to the other or even depending on the browser you use, it does not behave consistently. This commit removes the unreliable step as it does not test our own codebase. Task: 3736963