Saturday, October 26, 2024
2 changes · saas-17.4
Resolved issues and error corrections
This fix prevents website carousel slides from auto-advancing while users are editing or dragging them. It improves the editing experience by avoiding unexpected slide movement during content changes, especially for older carousel blocks.
Original PR description
Follow-up of [1] which was not enough to fully fix the issue.
Indeed, there was a remaining call to `.carousel("pause")` in an editor
option `start` that funnily enough actually unpaused the carousel.
Indeed, it created the carousel bootstrap instance, paused... but meant
to restart on first mouseleave.
The `slider` public widget is in charge of pausing the carousel in edit
mode. And it does so by preventing it to cycle for the whole edit mode
duration. But because of that editor option code, it happened too late.
[1]: https://github.com/odoo/odoo/commit/9eff9ae1904e0583f5dc60c6d925c52b48b208ecThe Payment Reference field is visible again on customer invoices in the Other Info tab. This helps businesses that import invoices or need to enter special payment references manually, while keeping the main invoice screen uncluttered.
Original PR description
We improved in 17.3/17.4 the Customer Invoice form view, and one of the changes where hiding the Payment Reference field. See https://github.com/odoo/odoo/commit/112c68a07b817e5e9a6c01e34a0fe7238b2eaa07 The rationale was: as it's most often generated by Odoo, let's not clutter the interface with a field that is left open most of the time. While this is true, in some cases people need to manage them by hand, for example when they import invoices, or they use specific formats not yet handled by Odoo. This commit restores the field in the Other Info tab for those cases. Task: 4276812