Saturday, November 26, 2022
3 changes · master
Enhancements to existing features
This update removes unused code from the server component, making the codebase slightly cleaner and easier to maintain. There is no expected change for users or day-to-day business workflows.
Original PR description
--- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Miscellaneous changes
In this commit [1] (merged in 16.0) a bugfix has been made in the `removeSlide` function but this one should have been applied on all supported versions because the bug it fixes is present on all versions. The bug it fixes is the following: - Drop a carousel block on a page - Remove a slide => There is no active indicator. Before this PR:  After this PR:  a bugfix has been made in the `removeSlide` function but this one should have been applied on all supported versions because the bug it fixes is present on all…
In this commit [1] (merged in 16.0) a bugfix has been made in the `removeSlide` function but this one should have been applied on all supported versions because the bug it fixes is present on all versions. The bug it fixes is the following: - Drop a carousel block on a page - Remove a slide => There is no active indicator. Before this PR:  After this PR:  Moreover, the bugfix made in 16.0 [1] introduces another error: when a slide is removed from the carousel the indicators are not in a correct state anymore. Following the same steps with the changes of [1]: - Drop a carousel block on a page - Remove a slide => Indicators are no longer consistent with the slides so tracebacks appear during the carousel slides. The list of indicators must have on each element a `data-slide-to` attribute which must reflect the position of the slide (starting with 0). So this commit is to backport the fix from 16.0 [1] to 14.0 and to fix the new bug that [1] introduces. [1]: https://github.com/odoo/odoo/commit/f7055d3dbabfbe471f490bd65c2032f5251f3f37 task-3040931 Forward-Port-Of: odoo/odoo#106634 Forward-Port-Of: odoo/odoo#103963
correct the model attribute _rec_names_search of product.unspsc.code Forward-Port-Of: odoo/enterprise#34428
Original PR description
correct the model attribute _rec_names_search of product.unspsc.code Forward-Port-Of: odoo/enterprise#34428