Tuesday, May 14, 2024
3 changes · master
Features or functions removed from Odoo
Odoo removed an old website publishing route that had been replaced by newer, dedicated publishing methods. This simplifies website code and removes unused frontend logic, with little expected impact unless custom code still depends on the old route.
Original PR description
That method was not the prettiest one and actually just became useless at some point: we have dedicated model methods to do the same thing. It could of course be used in custom code... but let's not…
That method was not the prettiest one and actually just became useless at some point: we have dedicated model methods to do the same thing. It could of course be used in custom code... but let's not linger into the past for this one. At worse, it is very easy to convert and or re-add the route as part of the custom code if needed... and it is probably not a very common thing in custo and in any case, not critical. Also not that our "frontend" publish buttons allowed to not use that route at all and provide a custom one by using the `data-controller` attribute. That was introduced by [1] 11 years ago and its uses were removed a few months later with [2]. Again, it could be used in custom code but we judge it is not worth the backward compatibility for the same reasons: not critical and very easy to restore as custom code if the need would arise. Also, those "frontend" publish buttons JS code was partly dead. [1]: https://github.com/odoo/odoo/commit/bfc8f61984b54444a544df0a10f7433320e22806 [2]: https://github.com/odoo/odoo/commit/100cc571cd6da60125ba71f531b060ed80cfbb5a
Unneeded access rules in the Approvals app were removed because the same permissions are already handled by an existing rule. This reduces duplication and helps keep access management easier to maintain without changing normal user workflows.
Original PR description
This will remove unnecessary access rules as they are already covered by another rule. Task: 3786622
The point-of-sale IoT customer display code was cleaned up after the customer display was moved into its own dedicated app. This reduces duplicated functionality and helps keep the point-of-sale IoT module easier to maintain without changing the intended customer experience.
Original PR description
In the corresponding community commit we refactor the customer display into it's own module. In this commit we remove the code that is no longer needed, because it is replaced by said customer display module