Wednesday, November 20, 2024
5 changes · master
Enhancements to existing features
This update modernizes how several Odoo apps define extra database indexes, helping keep data access reliable and easier to maintain. The change is internal and should not alter day-to-day user workflows, but it supports smoother performance and future upgrades.
Original PR description
Use `model.Index` for additional indexes. odoo/odoo#187538
The Twitter/X integration now reflects X's stricter privacy rules for likes, so users can still see like counts but no longer see who liked a post or retrieve posts liked by a specific user. Existing social streams will avoid crashing when X returns empty like details, and duplicate feed items stay consistent when a user likes a post.
Original PR description
The X platform announced that they were updating their policy on likes. These changes also impacts their API, this commit updates the social_twitter module to handle this change.
The API has been changed so that when accessing the Likes lookup endpoints, the resulting response will contain data about the accessed posts if it belongs to the authenticated user.
It is still possible to fetch the like_counts for all posts, but not the details of each like.
This disables any user to evaluate who is liking its posts. This also blocks any attempt to retrieve the posts liked by a specific user.
If a user tries to access these endpoints the resulting response will be:
```
{
"meta": {
"result_count": 0
}
}
```
These responses aren't considered errors so exisiting streams using this endpoint will not crash.
But they will not contain any fresh post and won't be able to be refreshed.
task-3986158The mobile-related test suites for web and HR mobile have been updated to use the newer testing framework. This improves maintainability and reliability of internal quality checks without changing day-to-day user workflows.
Original PR description
task-4028335
Studio users can now configure whether records can be duplicated from form and list views. This gives businesses more control over user actions and helps prevent unintended record copies where duplication should not be allowed.
Original PR description
This PR adds the 'duplicate' property to forms and list views. It's true by default and when set to false will add the `duplicate="true"` attribute, when true the attribute is removed Task ID: 4286087
The Mexican e-invoicing setup has been cleaned up so the relevant fields are added consistently across all accounting moves, not just customer invoices. This reduces configuration gaps and makes the view structure easier to maintain going forward.
Original PR description
The 3 fields were only added to the out_invoice view while it should have been on all moves. As we were in stable, we had to add a view inheriting each of the different move view. Now, we should remerge them and inherit the right view.